Skip to content

Commit

Permalink
Update CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
slowli committed Feb 3, 2024
1 parent 8b00881 commit 3378955
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
node-version: [18.x, 20.x, 21.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -29,12 +29,12 @@ jobs:
- run: npm run cover

- name: Collect coverage
if: success() && startsWith(matrix.node-version, '18')
if: success() && startsWith(matrix.node-version, '20')
run: |
mkdir -p coverage && npm run cover:report --silent -- --reporter=text-lcov > ./coverage/lcov.info
- name: Coveralls
uses: coverallsapp/github-action@master
if: success() && startsWith(matrix.node-version, '18')
if: success() && startsWith(matrix.node-version, '20')
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -52,7 +52,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
- run: npm ci

- run: bash ./gh-pages.sh
Expand Down

0 comments on commit 3378955

Please sign in to comment.