diff --git a/.github/workflows/basic-validation.yml b/.github/workflows/basic-validation.yml index d2b406f3..964a4f05 100644 --- a/.github/workflows/basic-validation.yml +++ b/.github/workflows/basic-validation.yml @@ -16,4 +16,4 @@ jobs: name: Basic validation uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main with: - node-version: '20.x' + node-version: '22.x' diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 64d40471..805dd520 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -16,4 +16,4 @@ jobs: name: Check dist/ uses: actions/reusable-workflows/.github/workflows/check-dist.yml@main with: - node-version: '20.x' + node-version: '22.x' diff --git a/README.md b/README.md index 86236a49..bbf354ec 100644 --- a/README.md +++ b/README.md @@ -103,8 +103,8 @@ The `node-version` input supports the Semantic Versioning Specification, for mor Examples: - - Major versions: `18`, `20` - - More specific versions: `10.15`, `16.15.1` , `18.4.0` + - Major versions: `18`, `20`, `22` + - More specific versions: `10.15`, `16.15.1` , `18.4.0`, `22.0.0` - NVM LTS syntax: `lts/erbium`, `lts/fermium`, `lts/*`, `lts/-n` - Latest release: `*` or `latest`/`current`/`node` diff --git a/action.yml b/action.yml index 99db5869..0cc27e2d 100644 --- a/action.yml +++ b/action.yml @@ -33,7 +33,7 @@ outputs: node-version: description: 'The installed node version.' runs: - using: 'node20' + using: 'node22' main: 'dist/setup/index.js' post: 'dist/cache-save/index.js' post-if: success()