Skip to content

Commit de482ee

Browse files
authored
Update node.js versions in Github Action
1 parent 64f64b2 commit de482ee

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
@@ -18,12 +18,13 @@ jobs:
1818
node-version:
1919
- 18
2020
- 20
21+
- 22
2122
- current
2223
os:
2324
- ubuntu-latest
2425
- windows-latest
2526
include:
26-
- node-version: 20
27+
- node-version: 22
2728
os: macos-latest
2829

2930
steps:
@@ -35,14 +36,14 @@ jobs:
3536
- run: npm i
3637
- run: npm test
3738
- run: npm run eslint
38-
if: ${{ matrix.node-version == '20' && matrix.os == 'ubuntu-latest' }}
39+
if: ${{ matrix.node-version == '22' && matrix.os == 'ubuntu-latest' }}
3940
- name: Coveralls
40-
if: ${{ matrix.node-version == '20' && matrix.os == 'ubuntu-latest' }}
41+
if: ${{ matrix.node-version == '22' && matrix.os == 'ubuntu-latest' }}
4142
uses: coverallsapp/github-action@v2
4243
with:
4344
github-token: ${{ secrets.GITHUB_TOKEN }}
4445
- name: Publish codeclimate code coverage
45-
if: ${{ matrix.node-version == '20' && matrix.os == 'ubuntu-latest' }}
46+
if: ${{ matrix.node-version == '22' && matrix.os == 'ubuntu-latest' }}
4647
uses: paambaati/[email protected]
4748
env:
4849
CC_TEST_REPORTER_ID: 0653d2f9752a6c6febd3bb7cabfec48439868a02350b1c46da7d60837a42ad93

0 commit comments

Comments
 (0)