From db89ba2a08ad2d126c1c1855e34d7f5c0f9df819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Mon, 7 Apr 2025 10:51:38 +0200 Subject: [PATCH 1/2] fix(CI): stop testing on Node 14 --- .github/workflows/blob.yml | 1 - .github/workflows/fetch.yml | 1 - .github/workflows/file.yml | 1 - .github/workflows/form-data.yml | 1 - .github/workflows/stream.yml | 1 - 5 files changed, 5 deletions(-) diff --git a/.github/workflows/blob.yml b/.github/workflows/blob.yml index c147ad9..c9e02cf 100644 --- a/.github/workflows/blob.yml +++ b/.github/workflows/blob.yml @@ -44,7 +44,6 @@ jobs: strategy: matrix: node-version: - - 14 - 16 os: - ubuntu-latest diff --git a/.github/workflows/fetch.yml b/.github/workflows/fetch.yml index 663430c..b009e6b 100644 --- a/.github/workflows/fetch.yml +++ b/.github/workflows/fetch.yml @@ -46,7 +46,6 @@ jobs: strategy: matrix: node-version: - - 14 - 16 os: - ubuntu-latest diff --git a/.github/workflows/file.yml b/.github/workflows/file.yml index 5ffe24c..1b7e4d1 100644 --- a/.github/workflows/file.yml +++ b/.github/workflows/file.yml @@ -44,7 +44,6 @@ jobs: strategy: matrix: node-version: - - 14 - 16 os: - ubuntu-latest diff --git a/.github/workflows/form-data.yml b/.github/workflows/form-data.yml index 6238204..72cae2b 100644 --- a/.github/workflows/form-data.yml +++ b/.github/workflows/form-data.yml @@ -45,7 +45,6 @@ jobs: strategy: matrix: node-version: - - 14 - 16 os: - ubuntu-latest diff --git a/.github/workflows/stream.yml b/.github/workflows/stream.yml index e93c534..da84fbb 100644 --- a/.github/workflows/stream.yml +++ b/.github/workflows/stream.yml @@ -45,7 +45,6 @@ jobs: strategy: matrix: node-version: - - 14 - 16 os: - ubuntu-latest From dbce5407ebe040462577ef553ed5eaf80984170e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Mon, 7 Apr 2025 11:43:56 +0200 Subject: [PATCH 2/2] chore(CI): add tests for newer Node versions --- .github/workflows/blob.yml | 8 ++++++++ .github/workflows/fetch.yml | 16 +++++++++------- .github/workflows/file.yml | 8 ++++++++ .github/workflows/form-data.yml | 8 ++++++++ .github/workflows/release.yml | 2 +- .github/workflows/stream.yml | 14 +++++++++++++- 6 files changed, 47 insertions(+), 9 deletions(-) diff --git a/.github/workflows/blob.yml b/.github/workflows/blob.yml index c9e02cf..f83200a 100644 --- a/.github/workflows/blob.yml +++ b/.github/workflows/blob.yml @@ -17,9 +17,13 @@ jobs: name: Typecheck runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: - 16 + - 18 + - 20 + - 22 project: - blob steps: @@ -42,9 +46,13 @@ jobs: runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: node-version: - 16 + - 18 + - 20 + - 22 os: - ubuntu-latest - windows-latest diff --git a/.github/workflows/fetch.yml b/.github/workflows/fetch.yml index b009e6b..e0e0447 100644 --- a/.github/workflows/fetch.yml +++ b/.github/workflows/fetch.yml @@ -18,9 +18,13 @@ jobs: name: Typecheck runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: - 16 + - 18 + - 20 + - 22 project: - fetch steps: @@ -44,21 +48,19 @@ jobs: runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: node-version: - 16 + - 18 + - 20 + - 22 os: - ubuntu-latest - windows-latest - macos-latest project: - fetch - exclude: - - os: windows-latest - node-version: 14 - # On macOS, run tests with only the LTS environments. - - os: macos-latest - node-version: 14 steps: - uses: actions/checkout@v2 @@ -77,7 +79,7 @@ jobs: # upload coverage only once - name: Coveralls uses: coverallsapp/github-action@master - if: matrix.node == '14' && matrix.os == 'ubuntu-latest' + if: matrix.node-version == '22' && matrix.os == 'ubuntu-latest' with: github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/file.yml b/.github/workflows/file.yml index 1b7e4d1..8b8d9d7 100644 --- a/.github/workflows/file.yml +++ b/.github/workflows/file.yml @@ -17,9 +17,13 @@ jobs: name: Typecheck runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: - 16 + - 18 + - 20 + - 22 project: - file steps: @@ -42,9 +46,13 @@ jobs: runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: node-version: - 16 + - 18 + - 20 + - 22 os: - ubuntu-latest - windows-latest diff --git a/.github/workflows/form-data.yml b/.github/workflows/form-data.yml index 72cae2b..d71a4f2 100644 --- a/.github/workflows/form-data.yml +++ b/.github/workflows/form-data.yml @@ -18,9 +18,13 @@ jobs: name: Typecheck runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: - 16 + - 18 + - 20 + - 22 project: - form-data steps: @@ -43,9 +47,13 @@ jobs: runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: node-version: - 16 + - 18 + - 20 + - 22 os: - ubuntu-latest - windows-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d751a1f..15cf759 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -87,7 +87,7 @@ jobs: - name: Setup uses: actions/setup-node@v2 with: - node-version: 16 + node-version: 22 registry-url: https://registry.npmjs.org/ if: ${{ steps.release.outputs.release_created }} - name: Install diff --git a/.github/workflows/stream.yml b/.github/workflows/stream.yml index da84fbb..fd21022 100644 --- a/.github/workflows/stream.yml +++ b/.github/workflows/stream.yml @@ -17,9 +17,13 @@ jobs: name: Typecheck runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: - 16 + - 18 + - 20 + - 22 project: - stream steps: @@ -43,9 +47,13 @@ jobs: runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: node-version: - 16 + - 18 + - 20 + - 22 os: - ubuntu-latest - windows-latest @@ -75,9 +83,13 @@ jobs: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: - 16 + - 18 + - 20 + - 22 project: - stream @@ -88,7 +100,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v2 with: - node-version: 16 + node-version: 22 - name: Install dependencies uses: bahmutov/npm-install@v1