Skip to content

Commit

Permalink
update ci action for full unit testing on all node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
cdepage committed Oct 15, 2023
1 parent 2cd3c17 commit be425a9
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 18]
node: [16, 18, 20]
name: Test Node v${{ matrix.node }}

steps:
Expand All @@ -52,24 +52,4 @@ jobs:
run: npm ci

- name: test
run: npm run test:affected

coverage:
needs: unit_tests
runs-on: ubuntu-latest
name: Test Node v20

steps:
- name: checkout
uses: actions/checkout@v3

- name: setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}

- name: install deps
run: npm ci

- name: test
run: npm run coverage:all
run: npm run test:all

0 comments on commit be425a9

Please sign in to comment.