actions / setup-node

Set up your GitHub Actions workflow with a specific version of node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support specifying alternate node mirrors

dcodeIO opened this issue · comments

commented

I have a use case where I test against latest node LTS, latest node stable and latest node on V8 lkgr, with the latter requiring to use a different than the hardcoded dataUrl (this one to be precise).

Noticed that the latest tags are being in the works already, which is great, so I thought I mention the mirror as well since that would allow me to replace my custom and hopefully temporary solution with proper setup-node that works on all platforms :)

Hello @dcodeIO. We released and updated the major tag with changes to install v8-canary builds. For now I'm going to close the issue.

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