Skip to content

Commit

Permalink
chore: update last LTS nodejs version (16)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomvaill committed Sep 22, 2022
1 parent da8e9a1 commit 5df08cf
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/post-release-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16

0 comments on commit 5df08cf

Please sign in to comment.