3
0
Fork 0
mirror of https://gitea.com/actions/setup-node.git synced 2024-11-24 11:09:33 +01:00

docs: node version

This commit is contained in:
Jacob Parish 2023-11-21 13:46:39 -06:00
parent 7c0fdd03f5
commit f9532b258e

View file

@ -157,7 +157,7 @@ jobs:
## Nightly versions ## Nightly versions
You can specify a nightly version to download it from https://nodejs.org/download/nightly. You can specify a nightly version to download it from https://nodejs.org/download/nightly.
### Install the nightly build for a major version ### Install the nightly build for a major version
@ -265,7 +265,7 @@ steps:
- run: pnpm test - run: pnpm test
``` ```
> **Note**: By default `--frozen-lockfile` option is passed starting from pnpm `6.10.x`. It will be automatically added if you run it on [CI](https://pnpm.io/cli/install#--frozen-lockfile). > **Note**: By default `--frozen-lockfile` option is passed starting from pnpm `6.10.x`. It will be automatically added if you run it on [CI](https://pnpm.io/cli/install#--frozen-lockfile).
> If the `pnpm-lock.yaml` file changes then pass `--frozen-lockfile` option. > If the `pnpm-lock.yaml` file changes then pass `--frozen-lockfile` option.
@ -425,7 +425,7 @@ steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: '16.x' node-version: '18.x'
corepack: true corepack: true
- name: Install dependencies - name: Install dependencies
run: yarn install --immutable run: yarn install --immutable
@ -438,7 +438,7 @@ steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: '16.x' node-version: '18.x'
corepack: yarn pnpm corepack: yarn pnpm
- name: Install dependencies - name: Install dependencies
run: yarn install --immutable run: yarn install --immutable