Skip to content

Commit

Permalink
chore: update node version to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornstar committed Feb 11, 2024
1 parent 7f9d849 commit 6ebba10
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
needs: install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: 16.x
node-version: 20
- run: yarn install
- run: npm i -g npm@latest
- run: npm run build
Expand All @@ -30,11 +30,11 @@ jobs:
needs: install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: 16.x
node-version: 20
- run: yarn install
- run: npm i -g npm@latest
- run: npm run eslint
Expand All @@ -43,23 +43,23 @@ jobs:
name: Install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: 16.x
node-version: 20
- run: yarn install

prettier:
name: Prettier
needs: install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: 16.x
node-version: 20
- run: yarn install
- run: npm i -g npm@latest
- run: npm run prettier
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"lint-staged": "^12.1.2"
},
"engines": {
"node": ">=16",
"node": "20",
"npm": ">=8"
},
"lint-staged": {
Expand All @@ -47,5 +47,6 @@
"packages/cannon-worker-api",
"packages/react-three-cannon",
"packages/react-three-cannon-examples"
]
],
"dependencies": {}
}
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2060,9 +2060,9 @@ camera-controls@^2.4.2:
integrity sha512-HONMoMYHieOCQOoweS639bdWHP/P/fvVGR08imnECGVUp04mqGfsX/zp1ZufLeiAA5hA6i1JhP6SrnOwh01C0w==

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

cannon-es-debugger@^1.0.0:
version "1.0.0"
Expand Down

0 comments on commit 6ebba10

Please sign in to comment.