Skip to content

Commit

Permalink
Use Node 20 in all the build/test workflows (#1435)
Browse files Browse the repository at this point in the history
  • Loading branch information
sequba authored Jul 18, 2024
1 parent df4ddc9 commit f082027
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
audit:
strategy:
matrix:
node-version: [ '22' ]
node-version: [ '20' ]
os: [ 'ubuntu-latest' ]
name: audit
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 16, 20, 22 ]
node-version: [ 20, 22 ]
os: [ ubuntu-latest, windows-latest, macos-latest ]
install-command: [ i, ci ]
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
lint:
strategy:
matrix:
node-version: [ '22' ]
node-version: [ '20' ]
os: [ 'ubuntu-latest' ]
name: lint
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
performance-test:
strategy:
matrix:
node-version: [ '22' ]
node-version: [ '20' ]
os: [ 'ubuntu-latest' ]
name: Test performance
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
publish-docs:
strategy:
matrix:
node-version: [ '16' ]
node-version: [ '20' ]
os: [ 'ubuntu-latest' ]
name: publish-docs
runs-on: ${{ matrix.os }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
unit-tests:
strategy:
matrix:
node-version: [ '22' ]
node-version: [ '20' ]
os: [ 'ubuntu-latest' ]
name: unit-tests
runs-on: ${{ matrix.os }}
Expand All @@ -42,7 +42,7 @@ jobs:
browser-tests:
strategy:
matrix:
node-version: [ '22' ]
node-version: [ '20' ]
os: [ 'ubuntu-latest' ]
name: browser-tests
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ format , builds ES6 version
* `npm run bundle:languages` - builds the languages
* `npm run bundle:typings` - generates TypeScript typing, only emits ‘.d.ts’ declaration files

We use the latest version of Node 22 LTS in the build-chain and recommend this version for building. Note that for using (not building) HyperFormula, a wider range of Node versions is supported.
We use the Node 20 LTS in the build-chain and recommend this version for building. Note that for using (not building) HyperFormula, a wider range of Node versions is supported.

## Verify the build

Expand Down

0 comments on commit f082027

Please sign in to comment.