Skip to content

Commit 0016a37

Browse files
ollecoffeeFryuni
andauthored
Use NodeJS LTS 22 (#74)
Co-authored-by: Luiz Ferraz <[email protected]>
1 parent 56781b9 commit 0016a37

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ For more information, please see our complete deployment guide—[Deploy your As
1111
### Inputs
1212

1313
- `path` - Optional: the root location of your Astro project inside the repository.
14-
- `node-version` - Optional: the specific version of Node that should be used to build your site. Defaults to `20`.
14+
- `node-version` - Optional: the specific version of Node that should be used to build your site. Defaults to `22`.
1515
- `package-manager` - Optional: the Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. Accepted values: `npm`, `yarn`, `pnpm`, and `bun`. A version tag is also accepted, for example `[email protected]`, `pnpm@8`, or `bun@latest`. If not provided, version will default to `latest`.
1616

1717
### Example workflow:
@@ -47,7 +47,7 @@ jobs:
4747
uses: withastro/action@v2
4848
# with:
4949
# path: . # The root location of your Astro project inside the repository. (optional)
50-
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 18. (optional)
50+
# node-version: 22 # The specific version of Node that should be used to build your site. Defaults to 22. (optional)
5151
# package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
5252

5353
deploy:

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ inputs:
77
node-version:
88
description: "The node version to use"
99
required: false
10-
default: "20"
10+
default: "22"
1111
package-manager:
1212
description: "You may specify your preferred package manager (one of `npm | yarn | pnpm | bun` and an optional `@<version>` tag). Otherwise, the package manager will be automatically detected."
1313
required: false

0 commit comments

Comments
 (0)