Skip to content

Commit 908ebe2

Browse files
authored
ci: update tested Node.js versions (#906)
1 parent 153d6dd commit 908ebe2

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

.github/workflows/nodejs.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414

1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v3
1818

1919
- name: Use Node.js 16
20-
uses: actions/setup-node@v2
20+
uses: actions/setup-node@v3
2121
with:
2222
node-version: 16.x
2323

@@ -36,19 +36,18 @@ jobs:
3636
- ubuntu-latest
3737
- windows-latest
3838
node-version:
39-
- 12.x
4039
- 14.x
4140
- 16.x
42-
- 17.x
41+
- 18.x
4342

4443
runs-on: ${{ matrix.os }}
4544

4645
steps:
4746
- name: Checkout code
48-
uses: actions/checkout@v2
47+
uses: actions/checkout@v3
4948

5049
- name: Use Node.js ${{ matrix.node-version }}
51-
uses: actions/setup-node@v2
50+
uses: actions/setup-node@v3
5251
with:
5352
node-version: ${{ matrix.node-version }}
5453

@@ -59,4 +58,4 @@ jobs:
5958
run: npm run tap -- --coverage-report=lcov
6059

6160
- name: Upload coverage report to Codecov
62-
uses: codecov/codecov-action@v2
61+
uses: codecov/codecov-action@v3

.github/workflows/test-module.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -36,22 +36,21 @@ jobs:
3636
- ubuntu-latest
3737
- windows-latest
3838
node-version:
39-
- 12.x
4039
- 14.x
4140
- 16.x
42-
- 17.x
41+
- 18.x
4342

4443
runs-on: ${{ matrix.os }}
4544

4645
steps:
4746
- name: Checkout code
48-
uses: actions/checkout@v2
47+
uses: actions/checkout@v3
4948
with:
5049
repository: ${{ github.event.inputs.repository }}
5150
ref: ${{ github.event.inputs.ref }}
5251

5352
- name: Use Node.js ${{ matrix.node-version }}
54-
uses: actions/setup-node@v2
53+
uses: actions/setup-node@v3
5554
with:
5655
node-version: ${{ matrix.node-version }}
5756

0 commit comments

Comments
 (0)