Skip to content

Commit

Permalink
dep: upgrade to node v22, remove unneeded incompatible deps
Browse files Browse the repository at this point in the history
  • Loading branch information
rameziophobia committed Jul 2, 2024
1 parent f9b8322 commit bf871ba
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 932 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/js_test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: "JS CI"
name: 'JS CI'

on:
push:
branches: [ "master" ]
branches: ['master']
pull_request:
branches: [ "master" ]
branches: ['master']

jobs:
test:
Expand All @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [18.x]
node: [22.x]
ruby: [3.3.3]

env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint_test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: "Lint CI"
name: 'Lint CI'

on:
push:
branches: [ "master" ]
branches: ['master']
pull_request:
branches: [ "master" ]
branches: ['master']

jobs:
test:
Expand All @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [18.x]
node: [22.x]
ruby: [3.3.3]

env:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/rspec_test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: "Rspec CI"
name: 'Rspec CI'

on:
push:
branches: [ "master" ]
branches: ['master']
pull_request:
branches: [ "master" ]
branches: ['master']

jobs:
test:
Expand All @@ -13,14 +13,14 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [18.x]
node: [22.x]
ruby: [3.3.3]

services:
postgres:
image: postgres:11-alpine
ports:
- "5432:5432"
- '5432:5432'
env:
POSTGRES_DB: rails_test
POSTGRES_USER: rails
Expand All @@ -29,7 +29,7 @@ jobs:
env:
RAILS_ENV: test
NODE_ENV: test
DATABASE_URL: "postgres://rails:password@localhost:5432/rails_test"
DATABASE_URL: 'postgres://rails:password@localhost:5432/rails_test'
DRIVER: selenium_chrome
CHROME_BIN: /usr/bin/google-chrome
USE_COVERALLS: true
Expand All @@ -45,7 +45,7 @@ jobs:
run: google-chrome --version

- name: Set Display environment variable
run: "export DISPLAY=:99"
run: 'export DISPLAY=:99'

- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -84,4 +84,4 @@ jobs:
with:
run: bundle exec rake ci:rspec
working-directory: ./ #optional
options: ":99 -ac -screen scn 1600x1200x16"
options: ':99 -ac -screen scn 1600x1200x16'
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.20.3
v22.3.0
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.1.0",
"description": "Code from the React Webpack tutorial.",
"engines": {
"node": "18",
"node": "22",
"yarn": "1.22"
},
"repository": {
Expand Down Expand Up @@ -70,7 +70,6 @@
"marked": "^5.1.0",
"marked-gfm-heading-id": "^3.0.5",
"marked-mangle": "^1.1.0",
"node-sass": "^9.0.0",
"node-uuid": "^1.4.8",
"postcss": "^8.4.5",
"postcss-loader": "7.3.3",
Expand Down Expand Up @@ -134,7 +133,6 @@
"react-refresh": "^0.14.0",
"react-transform-hmr": "^1.0.4",
"regenerator-runtime": "^0.13.11",
"sleep": "^6.2.0",
"typescript": "^5.1.3",
"webpack-dev-server": "^4.11.1"
},
Expand Down
Loading

0 comments on commit bf871ba

Please sign in to comment.