Skip to content

Commit 9fbdb1a

Browse files
authored
Update node.js versions in Github Action (#583)
1 parent bdd0d51 commit 9fbdb1a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/node.js.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ jobs:
1717
node-version:
1818
- 18
1919
- 20
20+
- 22
2021
- current
2122
os:
2223
- ubuntu-latest
2324
- windows-latest
2425
include:
25-
- node-version: 20
26+
- node-version: 22
2627
os: macos-latest
2728

2829
steps:
@@ -34,14 +35,14 @@ jobs:
3435
- run: npm i
3536
- run: npm test
3637
- run: npm run eslint
37-
if: ${{ matrix.node-version == '20' && matrix.os == 'ubuntu-latest' }}
38+
if: ${{ matrix.node-version == '22' && matrix.os == 'ubuntu-latest' }}
3839
- name: Coveralls
39-
if: ${{ matrix.node-version == '20' && matrix.os == 'ubuntu-latest' }}
40+
if: ${{ matrix.node-version == '22' && matrix.os == 'ubuntu-latest' }}
4041
uses: coverallsapp/github-action@v2
4142
with:
4243
github-token: ${{ secrets.GITHUB_TOKEN }}
4344
- name: Publish codeclimate code coverage
44-
if: ${{ matrix.node-version == '20' && matrix.os == 'ubuntu-latest' }}
45+
if: ${{ matrix.node-version == '22' && matrix.os == 'ubuntu-latest' }}
4546
uses: paambaati/[email protected]
4647
env:
4748
CC_TEST_REPORTER_ID: 5a58ca8fc3a280bcb3e9cc6af2588c2e24608abc50d89d749c4453b5ebbbd31b

0 commit comments

Comments
 (0)