mirror of
https://github.com/actions/setup-node
synced 2024-11-30 21:22:29 +08:00
docs: actions versions
This commit is contained in:
parent
f9532b258e
commit
28c91a3bbc
@ -422,8 +422,8 @@ You can enable [Corepack](https://github.com/nodejs/corepack) by using the `core
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '18.x'
|
node-version: '18.x'
|
||||||
corepack: true
|
corepack: true
|
||||||
@ -435,8 +435,8 @@ You can also pass package manager names separated by a space to enable corepack
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '18.x'
|
node-version: '18.x'
|
||||||
corepack: yarn pnpm
|
corepack: yarn pnpm
|
||||||
|
Loading…
Reference in New Issue
Block a user