github actions/setup-node v3.6.0
Add Support for Nightly, Canary and RC builds for Node.js

latest releases: v4.1.0, v4, v4.0.4...
22 months ago

In scope of this release we added support to download nightly, rc (#611) and canary (#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 test

For 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 test

For 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 test

Note: For more examples please refer to documentation.

Besides, we added the following changes as:

  • Updated minimatch: #608
  • Fixed extra newline character in version output when reading from a file: #625
  • Passed the token input through on GHES: #595
  • Fixed issue with scoped registries are duplicated in npmrc: #637

Don't miss a new setup-node release

NewReleases is sending notifications on new releases.