Skip to content

Commit bf871ba

Browse files
committed
dep: upgrade to node v22, remove unneeded incompatible deps
1 parent f9b8322 commit bf871ba

File tree

6 files changed

+47
-932
lines changed

6 files changed

+47
-932
lines changed

.github/workflows/js_test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: "JS CI"
1+
name: 'JS CI'
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: ['master']
66
pull_request:
7-
branches: [ "master" ]
7+
branches: ['master']
88

99
jobs:
1010
test:
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
node: [18.x]
16+
node: [22.x]
1717
ruby: [3.3.3]
1818

1919
env:

.github/workflows/lint_test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: "Lint CI"
1+
name: 'Lint CI'
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: ['master']
66
pull_request:
7-
branches: [ "master" ]
7+
branches: ['master']
88

99
jobs:
1010
test:
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
node: [18.x]
16+
node: [22.x]
1717
ruby: [3.3.3]
1818

1919
env:

.github/workflows/rspec_test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: "Rspec CI"
1+
name: 'Rspec CI'
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: ['master']
66
pull_request:
7-
branches: [ "master" ]
7+
branches: ['master']
88

99
jobs:
1010
test:
@@ -13,14 +13,14 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
node: [18.x]
16+
node: [22.x]
1717
ruby: [3.3.3]
1818

1919
services:
2020
postgres:
2121
image: postgres:11-alpine
2222
ports:
23-
- "5432:5432"
23+
- '5432:5432'
2424
env:
2525
POSTGRES_DB: rails_test
2626
POSTGRES_USER: rails
@@ -29,7 +29,7 @@ jobs:
2929
env:
3030
RAILS_ENV: test
3131
NODE_ENV: test
32-
DATABASE_URL: "postgres://rails:password@localhost:5432/rails_test"
32+
DATABASE_URL: 'postgres://rails:password@localhost:5432/rails_test'
3333
DRIVER: selenium_chrome
3434
CHROME_BIN: /usr/bin/google-chrome
3535
USE_COVERALLS: true
@@ -45,7 +45,7 @@ jobs:
4545
run: google-chrome --version
4646

4747
- name: Set Display environment variable
48-
run: "export DISPLAY=:99"
48+
run: 'export DISPLAY=:99'
4949

5050
- name: Checkout code
5151
uses: actions/checkout@v3
@@ -84,4 +84,4 @@ jobs:
8484
with:
8585
run: bundle exec rake ci:rspec
8686
working-directory: ./ #optional
87-
options: ":99 -ac -screen scn 1600x1200x16"
87+
options: ':99 -ac -screen scn 1600x1200x16'

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18.20.3
1+
v22.3.0

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.1.0",
44
"description": "Code from the React Webpack tutorial.",
55
"engines": {
6-
"node": "18",
6+
"node": "22",
77
"yarn": "1.22"
88
},
99
"repository": {
@@ -70,7 +70,6 @@
7070
"marked": "^5.1.0",
7171
"marked-gfm-heading-id": "^3.0.5",
7272
"marked-mangle": "^1.1.0",
73-
"node-sass": "^9.0.0",
7473
"node-uuid": "^1.4.8",
7574
"postcss": "^8.4.5",
7675
"postcss-loader": "7.3.3",
@@ -134,7 +133,6 @@
134133
"react-refresh": "^0.14.0",
135134
"react-transform-hmr": "^1.0.4",
136135
"regenerator-runtime": "^0.13.11",
137-
"sleep": "^6.2.0",
138136
"typescript": "^5.1.3",
139137
"webpack-dev-server": "^4.11.1"
140138
},

0 commit comments

Comments
 (0)