Skip to content

Commit

Permalink
Merge pull request #24 from Dafnik/feature/node-v22
Browse files Browse the repository at this point in the history
feat: update node to v22
  • Loading branch information
Dafnik authored Apr 29, 2024
2 parents 9b0a467 + 74f32ab commit ee5a00d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
- name: setup node and pnpm
uses: dafnik/setup-node-pnpm@v1
# with:
# pnpm: 9
# node: 20
# pnpm: 8
# node: 22
# node-file: ''
# cwd: '.'
# install: false
Expand All @@ -25,7 +25,7 @@ jobs:
| Inputs | Default value | Description |
|--------------------------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `pnpm` | `9` | PNPM version to install |
| `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 |
| `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 |
| `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`. |
| `cwd` | `.` | Changes pnpm-lock.yaml lookup location and the work directory of "pnpm install" if enabled |
| `install` | `false` | Runs "pnpm install" in working directory |
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: '20'
default: '22'
node-file:
description: 'File containing the version Spec of the version to use. Examples: .nvmrc, .node-version, .tool-versions.'
required: false
Expand Down

0 comments on commit ee5a00d

Please sign in to comment.