Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tivac committed Nov 2, 2023
1 parent d8fc6f4 commit 495a000
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: 'npm'

- name: npm install
Expand All @@ -34,7 +34,7 @@ jobs:

strategy:
matrix:
node-version: [ 12, 14, 16, 18 ]
node-version: [ 16, 18, 20 ]
os: [ ubuntu-latest, windows-latest ]

steps:
Expand All @@ -56,13 +56,13 @@ jobs:

# Run codecov after all builds, and only on a single environment
- name: Gather Coverage
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 16
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 18
run: npm run test:coverage

- name: Create Coverage Report
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 16
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 18
run: npm run test:report

- name: Upload Coverage
uses: codecov/codecov-action@v2
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 16
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 18

0 comments on commit 495a000

Please sign in to comment.