Skip to content

Commit

Permalink
chore: update node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tivac committed Dec 31, 2024
1 parent 180871e commit 2663b32
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 18
node-version: 22
cache: 'npm'

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

strategy:
matrix:
node-version: [ 16, 18, 20 ]
node-version: [ 18, 20, 22 ]
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 == 18
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 22
run: npm run test:coverage

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

- name: Upload Coverage
uses: codecov/codecov-action@v2
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 18
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 22
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 22
cache: "npm"

- name: Install Dependencies
Expand Down

0 comments on commit 2663b32

Please sign in to comment.