mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2024-12-26 12:35:48 +00:00
docs: actions versions
This commit is contained in:
parent
f9532b258e
commit
28c91a3bbc
1 changed files with 4 additions and 4 deletions
|
@ -422,8 +422,8 @@ You can enable [Corepack](https://github.com/nodejs/corepack) by using the `core
|
|||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18.x'
|
||||
corepack: true
|
||||
|
@ -435,8 +435,8 @@ You can also pass package manager names separated by a space to enable corepack
|
|||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18.x'
|
||||
corepack: yarn pnpm
|
||||
|
|
Loading…
Reference in a new issue