Skip to content

Commit 5aeb50e

Browse files
committed
chore(CI): add tests for newer Node versions
1 parent db89ba2 commit 5aeb50e

File tree

6 files changed

+47
-9
lines changed

6 files changed

+47
-9
lines changed

Diff for: .github/workflows/blob.yml

+8
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,13 @@ jobs:
1717
name: Typecheck
1818
runs-on: ubuntu-latest
1919
strategy:
20+
fail-fast: false
2021
matrix:
2122
node-version:
2223
- 16
24+
- 18
25+
- 20
26+
- 22
2327
project:
2428
- blob
2529
steps:
@@ -42,9 +46,13 @@ jobs:
4246
runs-on: ${{ matrix.os }}
4347

4448
strategy:
49+
fail-fast: false
4550
matrix:
4651
node-version:
4752
- 16
53+
- 18
54+
- 20
55+
- 22
4856
os:
4957
- ubuntu-latest
5058
- windows-latest

Diff for: .github/workflows/fetch.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@ jobs:
1818
name: Typecheck
1919
runs-on: ubuntu-latest
2020
strategy:
21+
fail-fast: false
2122
matrix:
2223
node-version:
2324
- 16
25+
- 18
26+
- 20
27+
- 22
2428
project:
2529
- fetch
2630
steps:
@@ -44,21 +48,19 @@ jobs:
4448
runs-on: ${{ matrix.os }}
4549

4650
strategy:
51+
fail-fast: false
4752
matrix:
4853
node-version:
4954
- 16
55+
- 18
56+
- 20
57+
- 22
5058
os:
5159
- ubuntu-latest
5260
- windows-latest
5361
- macos-latest
5462
project:
5563
- fetch
56-
exclude:
57-
- os: windows-latest
58-
node-version: 14
59-
# On macOS, run tests with only the LTS environments.
60-
- os: macos-latest
61-
node-version: 14
6264

6365
steps:
6466
- uses: actions/checkout@v2
@@ -77,7 +79,7 @@ jobs:
7779
# upload coverage only once
7880
- name: Coveralls
7981
uses: coverallsapp/github-action@master
80-
if: matrix.node == '14' && matrix.os == 'ubuntu-latest'
82+
if: matrix.node == '22' && matrix.os == 'ubuntu-latest'
8183
with:
8284
github-token: ${{ secrets.GITHUB_TOKEN }}
8385

Diff for: .github/workflows/file.yml

+8
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,13 @@ jobs:
1717
name: Typecheck
1818
runs-on: ubuntu-latest
1919
strategy:
20+
fail-fast: false
2021
matrix:
2122
node-version:
2223
- 16
24+
- 18
25+
- 20
26+
- 22
2327
project:
2428
- file
2529
steps:
@@ -42,9 +46,13 @@ jobs:
4246
runs-on: ${{ matrix.os }}
4347

4448
strategy:
49+
fail-fast: false
4550
matrix:
4651
node-version:
4752
- 16
53+
- 18
54+
- 20
55+
- 22
4856
os:
4957
- ubuntu-latest
5058
- windows-latest

Diff for: .github/workflows/form-data.yml

+8
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@ jobs:
1818
name: Typecheck
1919
runs-on: ubuntu-latest
2020
strategy:
21+
fail-fast: false
2122
matrix:
2223
node-version:
2324
- 16
25+
- 18
26+
- 20
27+
- 22
2428
project:
2529
- form-data
2630
steps:
@@ -43,9 +47,13 @@ jobs:
4347
runs-on: ${{ matrix.os }}
4448

4549
strategy:
50+
fail-fast: false
4651
matrix:
4752
node-version:
4853
- 16
54+
- 18
55+
- 20
56+
- 22
4957
os:
5058
- ubuntu-latest
5159
- windows-latest

Diff for: .github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
- name: Setup
8888
uses: actions/setup-node@v2
8989
with:
90-
node-version: 16
90+
node-version: 22
9191
registry-url: https://registry.npmjs.org/
9292
if: ${{ steps.release.outputs.release_created }}
9393
- name: Install

Diff for: .github/workflows/stream.yml

+13-1
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,13 @@ jobs:
1717
name: Typecheck
1818
runs-on: ubuntu-latest
1919
strategy:
20+
fail-fast: false
2021
matrix:
2122
node-version:
2223
- 16
24+
- 18
25+
- 20
26+
- 22
2327
project:
2428
- stream
2529
steps:
@@ -43,9 +47,13 @@ jobs:
4347
runs-on: ${{ matrix.os }}
4448

4549
strategy:
50+
fail-fast: false
4651
matrix:
4752
node-version:
4853
- 16
54+
- 18
55+
- 20
56+
- 22
4957
os:
5058
- ubuntu-latest
5159
- windows-latest
@@ -75,9 +83,13 @@ jobs:
7583
runs-on: ubuntu-latest
7684

7785
strategy:
86+
fail-fast: false
7887
matrix:
7988
node-version:
8089
- 16
90+
- 18
91+
- 20
92+
- 22
8193
project:
8294
- stream
8395

@@ -88,7 +100,7 @@ jobs:
88100
- name: Setup Node
89101
uses: actions/setup-node@v2
90102
with:
91-
node-version: 16
103+
node-version: 22
92104

93105
- name: Install dependencies
94106
uses: bahmutov/npm-install@v1

0 commit comments

Comments
 (0)