Skip to content

Commit

Permalink
chore: Update default node version to 22 (#6728)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S authored Dec 30, 2024
1 parent 2f636c5 commit 5af1b9a
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-and-test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
node-version:
required: false
description: The version of Node to use.
default: '18.x'
default: '22.x'
shell:
required: false
description: Shell to use, defaults to (bash || powershell)
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
node-version:
required: false
description: The version of Node to use.
default: '18.x'
default: '22.x'
runs:
using: 'composite'
steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:

- name: Install and Build
uses: ./.github/actions/install-build
with:
node-version: 18.x # using 18 for now since there are coverage issues with newer versions

- run: pnpm run coverage

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ permissions:
env:
RUNS_ON: ubuntu-latest
NODE_VERSION: '22.x'
NPM_VERSION: '9'

jobs:
pre-build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup and Build
uses: ./.github/actions/install-build-cache
with:
node-version: 18.x
node-version: 22.x

- name: Lint
run: pnpm run lint
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/reuseable-build-dist-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ permissions:
contents: read

env:
NODE_VERSION: '18.x'
NPM_VERSION: '9'
NODE_VERSION: '22.x'

jobs:
build:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/reuseable-load-integrations-repo-list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ permissions:

env:
RUNS_ON: ubuntu-latest
NODE_VERSION: '18.x'
NPM_VERSION: '9'
NODE_VERSION: '22.x'

jobs:
load:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
- 18.x
- 20.x
- 22.x
- 23.x

os:
- ubuntu-latest
Expand Down Expand Up @@ -111,7 +112,7 @@ jobs:
fail-fast: false
matrix:
node-version:
- 18.x
- 22.x

os:
- windows-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
matrix:
node-version:
# List of supported node versions (latest is tested in `test-os`)
- 18.x
- 22.x

os:
- ubuntu-latest
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- 18.x
- 20.x
- 22.x
- 23.x

os:
- ubuntu-latest
Expand All @@ -67,7 +68,7 @@ jobs:
strategy:
matrix:
node-version:
- 18.x
- 22.x

os:
- windows-latest
Expand All @@ -90,8 +91,7 @@ jobs:
strategy:
matrix:
node-version:
- 18.x
# - 20.x
- 22.x

os:
- ubuntu-latest
Expand Down Expand Up @@ -123,8 +123,10 @@ jobs:
matrix:
node-version:
# List of supported node versions (latest is tested in `test-os`)
- 18.x
- 20.x
- 22.x
- 23.x

os:
- ubuntu-latest
Expand All @@ -136,10 +138,10 @@ jobs:
include:
- os: windows-latest
use_cspell_cache: ''
node-version: 18.x
node-version: 22.x
# - os: macos-latest
# use_cspell_cache: ""
# node-version: 18.x
# node-version: 22.x

steps:
- uses: actions/checkout@v4
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/update-integration-repositories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ env:
REF_BRANCH_G: main
RUNS_ON: ubuntu-latest
NODE_VERSION: '18.x'
NPM_VERSION: '9'

jobs:
calc-ref:
Expand Down

0 comments on commit 5af1b9a

Please sign in to comment.