Skip to content

Commit

Permalink
chore: switch to node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed Nov 12, 2024
1 parent c7da326 commit 4a8f1e4
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,16 @@ jobs:
runs-on: ubuntu-latest
env:
CI: true
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
name: Use Node.js ${{ matrix.node-version }}
name: Test and lint
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 20.x
- name: npm install
run: npm i
- name: Unittesting
run: npm run test
- name: Linting
# Only test on one version to avoid duplicate linter annotations.
if: ${{ matrix.node-version == '16.x' }}
run: npm run lint

0 comments on commit 4a8f1e4

Please sign in to comment.