Skip to content

Commit 6ebba10

Browse files
committed
chore: update node version to 20
1 parent 7f9d849 commit 6ebba10

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed

.github/workflows/nodejs.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
needs: install
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v2
20-
- uses: actions/setup-node@v2
19+
- uses: actions/checkout@v4
20+
- uses: actions/setup-node@v4
2121
with:
2222
cache: 'yarn'
23-
node-version: 16.x
23+
node-version: 20
2424
- run: yarn install
2525
- run: npm i -g npm@latest
2626
- run: npm run build
@@ -30,11 +30,11 @@ jobs:
3030
needs: install
3131
runs-on: ubuntu-latest
3232
steps:
33-
- uses: actions/checkout@v2
34-
- uses: actions/setup-node@v2
33+
- uses: actions/checkout@v4
34+
- uses: actions/setup-node@v4
3535
with:
3636
cache: 'yarn'
37-
node-version: 16.x
37+
node-version: 20
3838
- run: yarn install
3939
- run: npm i -g npm@latest
4040
- run: npm run eslint
@@ -43,23 +43,23 @@ jobs:
4343
name: Install
4444
runs-on: ubuntu-latest
4545
steps:
46-
- uses: actions/checkout@v2
47-
- uses: actions/setup-node@v2
46+
- uses: actions/checkout@v4
47+
- uses: actions/setup-node@v4
4848
with:
4949
cache: 'yarn'
50-
node-version: 16.x
50+
node-version: 20
5151
- run: yarn install
5252

5353
prettier:
5454
name: Prettier
5555
needs: install
5656
runs-on: ubuntu-latest
5757
steps:
58-
- uses: actions/checkout@v2
59-
- uses: actions/setup-node@v2
58+
- uses: actions/checkout@v4
59+
- uses: actions/setup-node@v4
6060
with:
6161
cache: 'yarn'
62-
node-version: 16.x
62+
node-version: 20
6363
- run: yarn install
6464
- run: npm i -g npm@latest
6565
- run: npm run prettier

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"lint-staged": "^12.1.2"
2525
},
2626
"engines": {
27-
"node": ">=16",
27+
"node": "20",
2828
"npm": ">=8"
2929
},
3030
"lint-staged": {
@@ -47,5 +47,6 @@
4747
"packages/cannon-worker-api",
4848
"packages/react-three-cannon",
4949
"packages/react-three-cannon-examples"
50-
]
50+
],
51+
"dependencies": {}
5152
}

yarn.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -2060,9 +2060,9 @@ camera-controls@^2.4.2:
20602060
integrity sha512-HONMoMYHieOCQOoweS639bdWHP/P/fvVGR08imnECGVUp04mqGfsX/zp1ZufLeiAA5hA6i1JhP6SrnOwh01C0w==
20612061

20622062
caniuse-lite@^1.0.30001400:
2063-
version "1.0.30001429"
2064-
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001429.tgz"
2065-
integrity sha512-511ThLu1hF+5RRRt0zYCf2U2yRr9GPF6m5y90SBCWsvSoYoW7yAGlv/elyPaNfvGCkp6kj/KFZWU0BMA69Prsg==
2063+
version "1.0.30001585"
2064+
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001585.tgz"
2065+
integrity sha512-yr2BWR1yLXQ8fMpdS/4ZZXpseBgE7o4g41x3a6AJOqZuOi+iE/WdJYAuZ6Y95i4Ohd2Y+9MzIWRR+uGABH4s3Q==
20662066

20672067
cannon-es-debugger@^1.0.0:
20682068
version "1.0.0"

0 commit comments

Comments
 (0)