diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 5fd114a..5135c21 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- node: [16, 18]
+ node: [18, 20]
pnpm: [7, 8]
steps:
- uses: actions/checkout@v4
diff --git a/README.md b/README.md
index 5d9c8b3..af954c2 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ jobs:
uses: dafnik/setup-node-pnpm@v1
# with:
# pnpm: 8
- # node: 18
+ # node: 20
# node-file: ''
# cwd: '.'
# install: false
@@ -25,7 +25,7 @@ jobs:
| Inputs | Default value | Description |
|--------------------------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `pnpm` | `8` | PNPM version to install |
-| `node` | `18` | Version Spec of the version to use in SemVer notation.
It also emits such aliases as lts, latest, nightly and canary builds.
Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node |
+| `node` | `20` | Version Spec of the version to use in SemVer notation.
It also emits such aliases as lts, latest, nightly and canary builds.
Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node |
| `node-file` | `''` | File containing the version Spec of the version to use.
Examples: .nvmrc, .node-version, .tool-versions.
If `node` and `node-file` are both provided the action will use version from `node-file`. |
| `cwd` | `.` | Changes pnpm-lock.yaml lookup location and the work directory of "pnpm install" if enabled |
| `install` | `false` | Runs "pnpm install" in working directory |
diff --git a/SECURITY.md b/SECURITY.md
index 346a117..a3ff608 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -3,7 +3,8 @@
## Supported Versions
| Version | Supported |
-| ------- | ------------------ |
+|---------|--------------------|
+| 2.x.x | :white_check_mark: |
| 1.x.x | :white_check_mark: |
| < 1.0 | :x: |
diff --git a/action.yml b/action.yml
index 4b26103..85c4db1 100644
--- a/action.yml
+++ b/action.yml
@@ -13,7 +13,7 @@ inputs:
node:
description: "Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0."
required: false
- default: '18'
+ default: '20'
node-file:
description: 'File containing the version Spec of the version to use. Examples: .nvmrc, .node-version, .tool-versions.'
required: false