-
released this
2023-01-05 20:16:21 +08:00 | 123 commits to main since this releaseIn scope of this release we added support to download nightly, rc (https://github.com/actions/setup-node/pull/611) and canary (https://github.com/actions/setup-node/pull/619) Node.js distributions.
For nightly versions:
jobs: build: runs-on: ubuntu-latest name: Node sample steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: '16-nightly' - run: npm ci - run: npm testFor canary versions:
jobs: build: runs-on: ubuntu-latest name: Node sample steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: '16-v8-canary’ - run: npm ci - run: npm testFor rc versions:
jobs: build: runs-on: ubuntu-latest name: Node sample steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: '16.0.0-rc.1’ - run: npm ci - run: npm testNote: For more examples please refer to documentation.
Besides, we added the following changes as:
- Updated minimatch: https://github.com/actions/setup-node/pull/608
- Fixed extra newline character in version output when reading from a file: https://github.com/actions/setup-node/pull/625
- Passed the token input through on GHES: https://github.com/actions/setup-node/pull/595
- Fixed issue with scoped registries are duplicated in npmrc: https://github.com/actions/setup-node/pull/637
Downloads