Skip to content

Commit ee5a00d

Browse files
authored
Merge pull request #24 from Dafnik/feature/node-v22
feat: update node to v22
2 parents 9b0a467 + 74f32ab commit ee5a00d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
- name: setup node and pnpm
1515
uses: dafnik/setup-node-pnpm@v1
1616
# with:
17-
# pnpm: 9
18-
# node: 20
17+
# pnpm: 8
18+
# node: 22
1919
# node-file: ''
2020
# cwd: '.'
2121
# install: false
@@ -25,7 +25,7 @@ jobs:
2525
| Inputs | Default value | Description |
2626
|--------------------------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
2727
| `pnpm` | `9` | PNPM version to install |
28-
| `node` | `20` | Version Spec of the version to use in SemVer notation.<br /> It also emits such aliases as lts, latest, nightly and canary builds.<br /> Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node |
28+
| `node` | `22` | Version Spec of the version to use in SemVer notation.<br /> It also emits such aliases as lts, latest, nightly and canary builds.<br /> Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node |
2929
| `node-file` | `''` | File containing the version Spec of the version to use.<br /> Examples: .nvmrc, .node-version, .tool-versions.<br /> If `node` and `node-file` are both provided the action will use version from `node-file`. |
3030
| `cwd` | `.` | Changes pnpm-lock.yaml lookup location and the work directory of "pnpm install" if enabled |
3131
| `install` | `false` | Runs "pnpm install" in working directory |

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ inputs:
1313
node:
1414
description: "Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0."
1515
required: false
16-
default: '20'
16+
default: '22'
1717
node-file:
1818
description: 'File containing the version Spec of the version to use. Examples: .nvmrc, .node-version, .tool-versions.'
1919
required: false

0 commit comments

Comments
 (0)