mirror of
https://github.com/actions/setup-node.git
synced 2025-01-11 18:35:18 +00:00
48b90677b6
Some checks failed
Basic validation / Basic validation (push) Failing after 0s
Check dist / Check dist/ (push) Failing after 0s
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (18, ubuntu-latest) (push) Successful in 15m12s
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (20, ubuntu-latest) (push) Failing after 6m33s
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (22, ubuntu-latest) (push) Successful in 59m17s
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (18, ubuntu-latest) (push) Failing after 8m34s
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (20, ubuntu-latest) (push) Failing after 4m43s
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (22, ubuntu-latest) (push) Failing after 3m34s
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (18, ubuntu-latest) (push) Failing after 6m36s
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (20, ubuntu-latest) (push) Failing after 4s
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (18, ubuntu-latest) (push) Failing after 4s
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (20, ubuntu-latest) (push) Failing after 4s
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (22, ubuntu-latest) (push) Failing after 4s
e2e-cache / Test yarn subprojects (18) (push) Failing after 5s
e2e-cache / Test yarn subprojects (20) (push) Failing after 4s
e2e-cache / Test yarn subprojects (22) (push) Failing after 4s
e2e-cache / Test yarn subprojects all locally managed (18) (push) Failing after 4s
e2e-cache / Test yarn subprojects all locally managed (20) (push) Failing after 4s
e2e-cache / Test yarn subprojects all locally managed (22) (push) Failing after 4s
e2e-cache / Test yarn subprojects some locally managed (18) (push) Failing after 3s
e2e-cache / Test yarn subprojects some locally managed (20) (push) Failing after 4s
e2e-cache / Test yarn subprojects some locally managed (22) (push) Failing after 4s
e2e-cache / Test yarn subprojects managed by git (18) (push) Failing after 5s
e2e-cache / Test yarn subprojects managed by git (20) (push) Failing after 5s
e2e-cache / Test yarn subprojects managed by git (22) (push) Failing after 4s
Licensed / Licensed (push) Failing after 0s
proxy / test-proxy (push) Failing after 15s
proxy / test-bypass-proxy (push) Successful in 12m50s
versions / local-cache (18, ubuntu-latest) (push) Successful in 40m57s
versions / local-cache (20, ubuntu-latest) (push) Successful in 16m51s
versions / local-cache (22, ubuntu-latest) (push) Failing after 6m36s
versions / lts-syntax (lts/*, ubuntu-latest) (push) Failing after 14m33s
versions / lts-syntax (lts/-1, ubuntu-latest) (push) Failing after 11s
versions / lts-syntax (lts/dubnium, ubuntu-latest) (push) Failing after 11s
versions / lts-syntax (lts/erbium, ubuntu-latest) (push) Failing after 32s
versions / lts-syntax (lts/fermium, ubuntu-latest) (push) Failing after 11s
versions / v8-canary-syntax (20-v8-canary, ubuntu-latest) (push) Failing after 31s
versions / v8-canary-syntax (20.0.0-v8-canary, ubuntu-latest) (push) Failing after 32s
versions / v8-canary-syntax (20.0.0-v8-canary20221101e50e45c9f8, ubuntu-latest) (push) Failing after 31s
versions / nightly-syntax (18.0.0-nightly, ubuntu-latest) (push) Failing after 32s
versions / nightly-syntax (20.11.0-nightly202312211a0be537da, ubuntu-latest) (push) Failing after 31s
versions / nightly-syntax (21-nightly, ubuntu-latest) (push) Failing after 31s
versions / rc-syntax (18.0.0-rc.2, ubuntu-latest) (push) Failing after 31s
versions / rc-syntax (19.0.0-rc.0, ubuntu-latest) (push) Failing after 31s
versions / rc-syntax (20.0.0-rc.1, ubuntu-latest) (push) Failing after 32s
versions / manifest (18.20.0, ubuntu-latest) (push) Successful in 36m36s
versions / manifest (20.10.0, ubuntu-latest) (push) Failing after 3h9m33s
versions / manifest (22.0.0, ubuntu-latest) (push) Failing after 11s
versions / check-latest (18, ubuntu-latest) (push) Failing after 6m37s
versions / check-latest (20, ubuntu-latest) (push) Failing after 6m32s
versions / check-latest (22, ubuntu-latest) (push) Failing after 11s
versions / version-file (.nvmrc, ubuntu-latest) (push) Failing after 32s
versions / version-file (.tool-versions, ubuntu-latest) (push) Successful in 11m4s
versions / version-file (.tool-versions-node, ubuntu-latest) (push) Successful in 9s
versions / version-file (package.json, ubuntu-latest) (push) Successful in 6m39s
versions / version-file-volta (ubuntu-latest) (push) Successful in 10m52s
versions / version-file-volta-extends (ubuntu-latest) (push) Failing after 6m21s
versions / node-dist (17, ubuntu-latest) (push) Successful in 4m50s
versions / node-dist (19, ubuntu-latest) (push) Successful in 5m10s
versions / old-versions (ubuntu-latest) (push) Successful in 28s
versions / node-latest-aliases (current, ubuntu-latest) (push) Successful in 1m40s
versions / node-latest-aliases (latest, ubuntu-latest) (push) Successful in 13s
versions / node-latest-aliases (node, ubuntu-latest) (push) Successful in 13s
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (18, macos-13) (push) Has been cancelled
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (18, macos-latest) (push) Has been cancelled
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (18, windows-latest) (push) Has been cancelled
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (20, macos-13) (push) Has been cancelled
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (20, macos-latest) (push) Has been cancelled
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (20, windows-latest) (push) Has been cancelled
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (22, macos-13) (push) Has been cancelled
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (22, macos-latest) (push) Has been cancelled
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (22, windows-latest) (push) Has been cancelled
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (18, macos-13) (push) Has been cancelled
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (18, macos-latest) (push) Has been cancelled
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (18, windows-latest) (push) Has been cancelled
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (20, macos-13) (push) Has been cancelled
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (20, macos-latest) (push) Has been cancelled
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (20, windows-latest) (push) Has been cancelled
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (22, macos-13) (push) Has been cancelled
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (22, macos-latest) (push) Has been cancelled
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (22, windows-latest) (push) Has been cancelled
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (18, macos-13) (push) Has been cancelled
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (18, macos-latest) (push) Has been cancelled
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (18, windows-latest) (push) Has been cancelled
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (20, macos-13) (push) Has been cancelled
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (20, macos-latest) (push) Has been cancelled
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (20, windows-latest) (push) Has been cancelled
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (18, macos-13) (push) Has been cancelled
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (18, macos-latest) (push) Has been cancelled
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (18, windows-latest) (push) Has been cancelled
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (20, macos-13) (push) Has been cancelled
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (20, macos-latest) (push) Has been cancelled
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (20, windows-latest) (push) Has been cancelled
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (22, macos-13) (push) Has been cancelled
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (22, macos-latest) (push) Has been cancelled
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (22, windows-latest) (push) Has been cancelled
versions / local-cache (18, macos-13) (push) Has been cancelled
versions / local-cache (18, macos-latest) (push) Has been cancelled
versions / local-cache (18, windows-latest) (push) Has been cancelled
versions / local-cache (20, macos-13) (push) Has been cancelled
versions / local-cache (20, macos-latest) (push) Has been cancelled
versions / local-cache (20, windows-latest) (push) Has been cancelled
versions / local-cache (22, macos-13) (push) Has been cancelled
versions / local-cache (22, macos-latest) (push) Has been cancelled
versions / local-cache (22, windows-latest) (push) Has been cancelled
versions / lts-syntax (lts/*, macos-13) (push) Has been cancelled
versions / lts-syntax (lts/*, windows-latest) (push) Has been cancelled
versions / lts-syntax (lts/-1, macos-13) (push) Has been cancelled
versions / lts-syntax (lts/-1, windows-latest) (push) Has been cancelled
versions / lts-syntax (lts/dubnium, macos-13) (push) Has been cancelled
versions / lts-syntax (lts/dubnium, windows-latest) (push) Has been cancelled
versions / lts-syntax (lts/erbium, macos-13) (push) Has been cancelled
versions / lts-syntax (lts/erbium, windows-latest) (push) Has been cancelled
versions / lts-syntax (lts/fermium, macos-13) (push) Has been cancelled
versions / lts-syntax (lts/fermium, windows-latest) (push) Has been cancelled
versions / v8-canary-syntax (20-v8-canary, macos-13) (push) Has been cancelled
versions / v8-canary-syntax (20-v8-canary, macos-latest) (push) Has been cancelled
versions / v8-canary-syntax (20-v8-canary, windows-latest) (push) Has been cancelled
versions / v8-canary-syntax (20.0.0-v8-canary, macos-13) (push) Has been cancelled
versions / v8-canary-syntax (20.0.0-v8-canary, macos-latest) (push) Has been cancelled
versions / v8-canary-syntax (20.0.0-v8-canary, windows-latest) (push) Has been cancelled
versions / v8-canary-syntax (20.0.0-v8-canary20221101e50e45c9f8, macos-13) (push) Has been cancelled
versions / v8-canary-syntax (20.0.0-v8-canary20221101e50e45c9f8, macos-latest) (push) Has been cancelled
versions / v8-canary-syntax (20.0.0-v8-canary20221101e50e45c9f8, windows-latest) (push) Has been cancelled
versions / nightly-syntax (18.0.0-nightly, macos-13) (push) Has been cancelled
versions / nightly-syntax (18.0.0-nightly, macos-latest) (push) Has been cancelled
versions / nightly-syntax (18.0.0-nightly, windows-latest) (push) Has been cancelled
versions / nightly-syntax (20.11.0-nightly202312211a0be537da, macos-13) (push) Has been cancelled
versions / nightly-syntax (20.11.0-nightly202312211a0be537da, macos-latest) (push) Has been cancelled
versions / nightly-syntax (20.11.0-nightly202312211a0be537da, windows-latest) (push) Has been cancelled
versions / nightly-syntax (21-nightly, macos-13) (push) Has been cancelled
versions / nightly-syntax (21-nightly, macos-latest) (push) Has been cancelled
versions / nightly-syntax (21-nightly, windows-latest) (push) Has been cancelled
versions / rc-syntax (18.0.0-rc.2, macos-13) (push) Has been cancelled
versions / rc-syntax (18.0.0-rc.2, macos-latest) (push) Has been cancelled
versions / rc-syntax (18.0.0-rc.2, windows-latest) (push) Has been cancelled
versions / rc-syntax (19.0.0-rc.0, macos-13) (push) Has been cancelled
versions / rc-syntax (19.0.0-rc.0, macos-latest) (push) Has been cancelled
versions / rc-syntax (19.0.0-rc.0, windows-latest) (push) Has been cancelled
versions / rc-syntax (20.0.0-rc.1, macos-13) (push) Has been cancelled
versions / rc-syntax (20.0.0-rc.1, macos-latest) (push) Has been cancelled
versions / rc-syntax (20.0.0-rc.1, windows-latest) (push) Has been cancelled
versions / manifest (18.20.0, macos-13) (push) Has been cancelled
versions / manifest (18.20.0, macos-latest) (push) Has been cancelled
versions / manifest (18.20.0, windows-latest) (push) Has been cancelled
versions / manifest (20.10.0, macos-13) (push) Has been cancelled
versions / manifest (20.10.0, macos-latest) (push) Has been cancelled
versions / manifest (20.10.0, windows-latest) (push) Has been cancelled
versions / manifest (22.0.0, macos-13) (push) Has been cancelled
versions / manifest (22.0.0, macos-latest) (push) Has been cancelled
versions / manifest (22.0.0, windows-latest) (push) Has been cancelled
versions / check-latest (18, macos-13) (push) Has been cancelled
versions / check-latest (18, macos-latest) (push) Has been cancelled
versions / check-latest (18, windows-latest) (push) Has been cancelled
versions / check-latest (20, macos-13) (push) Has been cancelled
versions / check-latest (20, macos-latest) (push) Has been cancelled
versions / check-latest (20, windows-latest) (push) Has been cancelled
versions / check-latest (22, macos-13) (push) Has been cancelled
versions / check-latest (22, macos-latest) (push) Has been cancelled
versions / check-latest (22, windows-latest) (push) Has been cancelled
versions / version-file (.nvmrc, macos-13) (push) Has been cancelled
versions / version-file (.nvmrc, macos-latest) (push) Has been cancelled
versions / version-file (.nvmrc, windows-latest) (push) Has been cancelled
versions / version-file (.tool-versions, macos-13) (push) Has been cancelled
versions / version-file (.tool-versions, macos-latest) (push) Has been cancelled
versions / version-file (.tool-versions, windows-latest) (push) Has been cancelled
versions / version-file (.tool-versions-node, macos-13) (push) Has been cancelled
versions / version-file (.tool-versions-node, macos-latest) (push) Has been cancelled
versions / version-file (.tool-versions-node, windows-latest) (push) Has been cancelled
versions / version-file (package.json, macos-13) (push) Has been cancelled
versions / version-file (package.json, macos-latest) (push) Has been cancelled
versions / version-file (package.json, windows-latest) (push) Has been cancelled
versions / version-file-volta (macos-13) (push) Has been cancelled
versions / version-file-volta (macos-latest) (push) Has been cancelled
versions / version-file-volta (windows-latest) (push) Has been cancelled
versions / version-file-volta-extends (macos-13) (push) Has been cancelled
versions / version-file-volta-extends (macos-latest) (push) Has been cancelled
versions / version-file-volta-extends (windows-latest) (push) Has been cancelled
versions / node-dist (17, macos-13) (push) Has been cancelled
versions / node-dist (17, macos-latest) (push) Has been cancelled
versions / node-dist (17, windows-latest) (push) Has been cancelled
versions / node-dist (19, macos-13) (push) Has been cancelled
versions / node-dist (19, macos-latest) (push) Has been cancelled
versions / node-dist (19, windows-latest) (push) Has been cancelled
versions / old-versions (macos-13) (push) Has been cancelled
versions / old-versions (windows-latest) (push) Has been cancelled
versions / arch (push) Has been cancelled
versions / node-latest-aliases (current, macos-13) (push) Has been cancelled
versions / node-latest-aliases (current, macos-latest) (push) Has been cancelled
versions / node-latest-aliases (current, windows-latest) (push) Has been cancelled
versions / node-latest-aliases (latest, macos-13) (push) Has been cancelled
versions / node-latest-aliases (latest, macos-latest) (push) Has been cancelled
versions / node-latest-aliases (latest, windows-latest) (push) Has been cancelled
versions / node-latest-aliases (node, macos-13) (push) Has been cancelled
versions / node-latest-aliases (node, macos-latest) (push) Has been cancelled
versions / node-latest-aliases (node, windows-latest) (push) Has been cancelled
Update configuration files / Update configuration files (push) Failing after 0s
CodeQL analysis / CodeQL analysis (push) Failing after 0s
* Update versions.yml * Update versions.yml * ubuntu-24, macos-13 updates * check -failure fix
279 lines
7.9 KiB
YAML
279 lines
7.9 KiB
YAML
name: versions
|
|
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- '**.md'
|
|
push:
|
|
branches:
|
|
- main
|
|
- releases/*
|
|
paths-ignore:
|
|
- '**.md'
|
|
|
|
jobs:
|
|
local-cache:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
|
node-version: [18, 20, 22]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup Node
|
|
uses: ./
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: Verify node and npm
|
|
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
|
|
shell: bash
|
|
|
|
lts-syntax:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-13]
|
|
node-version: [lts/dubnium, lts/erbium, lts/fermium, lts/*, lts/-1]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup Node
|
|
uses: ./
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
check-latest: true
|
|
- if: runner.os != 'Windows' && runner.os != 'macOS'
|
|
name: Verify node and npm
|
|
run: |
|
|
. "$NVM_DIR/nvm.sh"
|
|
[[ $(nvm version-remote "${{ matrix.node-version }}") =~ ^v([^.]+) ]]
|
|
__tests__/verify-node.sh "${BASH_REMATCH[1]}"
|
|
shell: bash
|
|
|
|
v8-canary-syntax:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
|
node-version:
|
|
[
|
|
'20-v8-canary',
|
|
'20.0.0-v8-canary',
|
|
'20.0.0-v8-canary20221101e50e45c9f8'
|
|
]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup Node
|
|
uses: ./
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: Verify node and npm
|
|
run: |
|
|
canaryVersion="${{ matrix.node-version }}"
|
|
majorVersion=$(echo $canaryVersion | cut -d- -f1)
|
|
__tests__/verify-node.sh "$majorVersion"
|
|
shell: bash
|
|
|
|
nightly-syntax:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
|
node-version:
|
|
[20.11.0-nightly202312211a0be537da, 21-nightly, 18.0.0-nightly]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup Node
|
|
uses: ./
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: Verify node and npm
|
|
run: |
|
|
nightlyVersion="${{ matrix.node-version }}"
|
|
majorVersion=$(echo $nightlyVersion | cut -d- -f1)
|
|
__tests__/verify-node.sh "$majorVersion"
|
|
shell: bash
|
|
|
|
rc-syntax:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
|
node-version: [20.0.0-rc.1, 18.0.0-rc.2, 19.0.0-rc.0]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup Node
|
|
uses: ./
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: Verify node and npm
|
|
run: |
|
|
rcVersion="${{ matrix.node-version }}"
|
|
majorVersion=$(echo $rcVersion | cut -d- -f1)
|
|
__tests__/verify-node.sh "$majorVersion"
|
|
shell: bash
|
|
|
|
manifest:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
|
node-version: [18.20.0, 20.10.0, 22.0.0]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup Node
|
|
uses: ./
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: Verify node and npm
|
|
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
|
|
shell: bash
|
|
|
|
check-latest:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
|
node-version: [18, 20, 22]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup Node and check latest
|
|
uses: ./
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
check-latest: true
|
|
- name: Verify node and npm
|
|
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
|
|
shell: bash
|
|
|
|
version-file:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
|
node-version-file:
|
|
[.nvmrc, .tool-versions, .tool-versions-node, package.json]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup node from node version file
|
|
uses: ./
|
|
with:
|
|
node-version-file: '__tests__/data/${{ matrix.node-version-file }}'
|
|
- name: Verify node
|
|
run: __tests__/verify-node.sh 20
|
|
|
|
version-file-volta:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup node from node version file
|
|
uses: ./
|
|
with:
|
|
node-version-file: '__tests__/data/package-volta.json'
|
|
- name: Verify node
|
|
run: __tests__/verify-node.sh 20
|
|
|
|
version-file-volta-extends:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup node from node version file
|
|
uses: ./
|
|
with:
|
|
node-version-file: '__tests__/data/package-volta-extends.json'
|
|
- name: Verify node
|
|
run: __tests__/verify-node.sh 20
|
|
|
|
node-dist:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
|
node-version: [17, 19]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup Node from dist
|
|
uses: ./
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: Verify node and npm
|
|
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
|
|
shell: bash
|
|
|
|
old-versions:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-13]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
# test old versions which didn't have npm and layout different
|
|
- name: Setup node 0.12.18 from dist
|
|
uses: ./
|
|
with:
|
|
node-version: 0.12.18
|
|
- name: Verify node
|
|
run: __tests__/verify-node.sh 0.12.18 SKIP_NPM
|
|
shell: bash
|
|
|
|
arch:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup node 20 x86 from dist
|
|
uses: ./
|
|
with:
|
|
node-version: '20'
|
|
architecture: 'x86'
|
|
- name: Verify node
|
|
run: __tests__/verify-arch.sh "ia32"
|
|
shell: bash
|
|
|
|
node-latest-aliases:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
|
node-version: [current, latest, node]
|
|
steps:
|
|
- name: Get node version
|
|
run: |
|
|
latestNodeVersion=$(curl https://nodejs.org/dist/index.json | jq -r '. [0].version')
|
|
echo "LATEST_NODE_VERSION=$latestNodeVersion" >> $GITHUB_OUTPUT
|
|
id: version
|
|
shell: bash
|
|
- uses: actions/checkout@v4
|
|
- name: Setup Node
|
|
uses: ./
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: Retrieve version after install
|
|
run: |
|
|
updatedVersion=$(echo $(node --version))
|
|
echo "NODE_VERSION_UPDATED=$updatedVersion" >> $GITHUB_OUTPUT
|
|
id: updatedVersion
|
|
shell: bash
|
|
- name: Compare versions
|
|
if: ${{ steps.version.outputs.LATEST_NODE_VERSION != steps.updatedVersion.outputs.NODE_VERSION_UPDATED}}
|
|
run: |
|
|
echo "Latest node version failed to download."
|
|
exit 1
|