mirror of
https://github.com/actions/setup-node
synced 2024-12-23 05:34:56 +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