Skip to content

Commit

Permalink
chore(ci): also run on node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
sverweij committed May 2, 2024
1 parent 3618756 commit 147f207
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

env:
CI: true
NODE_LATEST: 21.x
NODE_LATEST: 22.x

defaults:
run:
Expand All @@ -29,7 +29,7 @@ jobs:
matrix:
node-version:
- 18.x
- 21.x
- 22.x
platform:
- ubuntu-latest

Expand All @@ -56,12 +56,11 @@ jobs:
node-version: ${{matrix.node-version}}
- run: npm install
- run: npm run depcruise
if: matrix.node-version != '18.x'
- name: lint on platforms other than 18.x
if: matrix.node-version != '18.x'
run: npm run lint
if: matrix.node-version == env.NODE_LATEST
- run: npm run lint
if: matrix.node-version == env.NODE_LATEST
- run: npm run test:cover
if: matrix.node-version != '18.x'
if: matrix.node-version == env.NODE_LATEST
- run: npx tsx --test src/*.spec.ts src/**/*.spec.ts
if: matrix.node-version == '18.x'
- run: npm run build
Expand Down

0 comments on commit 147f207

Please sign in to comment.