From 5df08cfa8bc7f688668e7b25966669e649e54639 Mon Sep 17 00:00:00 2001 From: Thomas Vaillant Date: Thu, 22 Sep 2022 18:13:21 +0200 Subject: [PATCH] chore: update last LTS nodejs version (16) --- .github/workflows/build.yml | 17 ++++++++++------- .github/workflows/ci.yml | 4 ++-- .github/workflows/post-release-e2e.yml | 5 ++++- .nvmrc | 1 + 4 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 .nvmrc diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16579836..03066391 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: # We use a matrix even if it's not needed here to be able to re-use the same Yarn setup snippet everywhere matrix: os: [ubuntu-latest] - node-version: [14.x] + node-version: [16.x] # Active LTS (https://github.com/nodejs/release) runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 @@ -69,16 +69,19 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node-version: [15.x, 14.x, 12.x] + node-version: + - 18.x # Current version + - 16.x # Active LTS (https://github.com/nodejs/release) + - 14.x # Maintenance LTS exclude: # these cases are tested after the release with E2E tests - os: windows-latest - node-version: 15.x + node-version: 18.x - os: windows-latest - node-version: 12.x + node-version: 14.x - os: macos-latest - node-version: 15.x + node-version: 18.x - os: macos-latest - node-version: 12.x + node-version: 14.x runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 @@ -136,7 +139,7 @@ jobs: # We use a matrix even if it's not needed here to be able to re-use the same Yarn setup snippet everywhere matrix: os: [ubuntu-latest] - node-version: [14.x] + node-version: [16.x] # Active LTS (https://github.com/nodejs/release) runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a309770..b8748681 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: # We use a matrix even if it's not needed here to be able to re-use the same Yarn setup snippet everywhere matrix: os: [ubuntu-latest] - node-version: [14.x] + node-version: [16.x] # Active LTS (https://github.com/nodejs/release) runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 @@ -73,7 +73,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node-version: [14.x] # we test 15.x and 12.x in master build, because it's too slow + node-version: [16.x] # Active LTS (https://github.com/nodejs/release); we test other versions in the main Build workflow because it's too slow runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/post-release-e2e.yml b/.github/workflows/post-release-e2e.yml index 090f71b2..b1dd1277 100644 --- a/.github/workflows/post-release-e2e.yml +++ b/.github/workflows/post-release-e2e.yml @@ -17,7 +17,10 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node-version: [15.x, 14.x, 12.x] + node-version: + - 18.x # Current version + - 16.x # Active LTS (https://github.com/nodejs/release) + - 14.x # Maintenance LTS runs-on: ${{ matrix.os }} steps: - name: use node.js ${{ matrix.node-version }} diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..b6a7d89c --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +16