Skip to content

Commit

Permalink
[ci] set node version to 20 using volta and github action
Browse files Browse the repository at this point in the history
  • Loading branch information
grasword committed Oct 14, 2023
1 parent fa29784 commit 821fea1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ on:

jobs:
test:
name: node@${{ matrix.node-version }}
name: build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version-file: 'package.json'
- run: npm ci
# - run: npm run check --ws
- run: npm run test --ws
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"node": ">=18"
},
"volta": {
"node": "20.7.0"
"node": "20.8.1",
"npm": "10.2.0"
}
}

0 comments on commit 821fea1

Please sign in to comment.