mirror of
https://github.com/actions/setup-node.git
synced 2024-12-26 07:31:08 +08:00
7247617371
Some checks failed
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (12, macos-latest) (push) Waiting to run
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (12, windows-latest) (push) Waiting to run
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, macos-latest) (push) Waiting to run
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, windows-latest) (push) Waiting to run
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, macos-latest) (push) Waiting to run
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, windows-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (12, macos-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (12, windows-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, macos-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, windows-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, macos-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (12, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (12, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, windows-latest) (push) Waiting to run
Basic validation / Basic validation (push) Failing after 2s
CodeQL analysis / CodeQL analysis (push) Failing after 3s
Check dist / Check dist/ (push) Failing after 2s
e2e-cache / Test yarn subprojects all locally managed (14) (push) Failing after 1m43s
e2e-cache / Test yarn subprojects all locally managed (16) (push) Failing after 1m44s
e2e-cache / Test yarn subprojects (14) (push) Failing after 1m54s
e2e-cache / Test yarn subprojects (12) (push) Failing after 1m58s
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, ubuntu-latest) (push) Failing after 2m3s
e2e-cache / Test yarn subprojects (16) (push) Failing after 2m6s
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, ubuntu-latest) (push) Failing after 2m1s
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (12, ubuntu-latest) (push) Failing after 2m1s
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, ubuntu-latest) (push) Failing after 2m4s
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, ubuntu-latest) (push) Failing after 1m57s
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (12, ubuntu-latest) (push) Failing after 2m7s
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, ubuntu-latest) (push) Failing after 2m6s
Licensed / Licensed (push) Failing after 8s
e2e-cache / Test yarn subprojects all locally managed (12) (push) Failing after 2m6s
versions / local-cache (14, ubuntu-latest) (push) Failing after 15s
e2e-cache / Test yarn subprojects managed by git (12) (push) Failing after 58s
e2e-cache / Test yarn subprojects some locally managed (14) (push) Failing after 9s
versions / lts-syntax (lts/dubnium, ubuntu-latest) (push) Failing after 24s
versions / lts-syntax (lts/erbium, ubuntu-latest) (push) Failing after 29s
e2e-cache / Test yarn subprojects some locally managed (16) (push) Failing after 14s
versions / lts-syntax (lts/fermium, ubuntu-latest) (push) Failing after 44s
versions / lts-syntax (lts/-1, ubuntu-latest) (push) Failing after 25s
e2e-cache / Test yarn subprojects managed by git (14) (push) Failing after 1m9s
versions / v8-canary-syntax (20-v8-canary, ubuntu-latest) (push) Failing after 2m9s
versions / v8-canary-syntax (20.0.0-v8-canary, ubuntu-latest) (push) Failing after 2m36s
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, ubuntu-latest) (push) Failing after 10m31s
versions / nightly-syntax (18.0.0-nightly, ubuntu-latest) (push) Failing after 8m5s
versions / rc-syntax (18.0.0-rc.2, ubuntu-latest) (push) Failing after 8m15s
versions / v8-canary-syntax (20.0.0-v8-canary20221101e50e45c9f8, ubuntu-latest) (push) Failing after 8m33s
versions / rc-syntax (16.0.0-rc.1, ubuntu-latest) (push) Failing after 8m8s
versions / rc-syntax (19.0.0-rc.0, ubuntu-latest) (push) Failing after 9m1s
versions / nightly-syntax (17-nightly, ubuntu-latest) (push) Failing after 8m45s
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, ubuntu-latest) (push) Failing after 13m37s
e2e-cache / Test yarn subprojects some locally managed (12) (push) Failing after 11m10s
e2e-cache / Test yarn subprojects managed by git (16) (push) Failing after 10m34s
proxy / test-proxy (push) Failing after 10m31s
proxy / test-bypass-proxy (push) Failing after 10m27s
versions / local-cache (10, ubuntu-latest) (push) Failing after 10m26s
versions / local-cache (12, ubuntu-latest) (push) Failing after 10m24s
versions / lts-syntax (lts/*, ubuntu-latest) (push) Failing after 10m23s
versions / manifest (14.2.0, ubuntu-latest) (push) Failing after 10m24s
versions / version-file (.tool-versions, ubuntu-latest) (push) Failing after 3m2s
versions / version-file (.tool-versions-node, ubuntu-latest) (push) Failing after 3m8s
versions / node-dist (13, ubuntu-latest) (push) Failing after 3m7s
versions / old-versions (ubuntu-latest) (push) Successful in 2m8s
versions / manifest (16.3.0, ubuntu-latest) (push) Failing after 13m1s
versions / manifest (12.16.0, ubuntu-latest) (push) Failing after 13m8s
versions / nightly-syntax (16.0.0-nightly20210420a0261d231c, ubuntu-latest) (push) Failing after 14m31s
versions / version-file (.nvmrc, ubuntu-latest) (push) Failing after 8m3s
versions / check-latest (10, ubuntu-latest) (push) Failing after 12m44s
versions / node-latest-aliases (current, ubuntu-latest) (push) Successful in 3m18s
versions / node-latest-aliases (node, ubuntu-latest) (push) Successful in 2m51s
versions / check-latest (14, ubuntu-latest) (push) Failing after 12m39s
versions / check-latest (12, ubuntu-latest) (push) Failing after 12m45s
versions / manifest (10.15, ubuntu-latest) (push) Failing after 14m51s
versions / version-file (package.json, ubuntu-latest) (push) Failing after 8m3s
versions / version-file-volta (ubuntu-latest) (push) Failing after 8m2s
versions / node-dist (11, ubuntu-latest) (push) Failing after 8m1s
versions / node-latest-aliases (latest, ubuntu-latest) (push) Successful in 8m11s
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, ubuntu-latest) (push) Failing after 32m21s
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (12, ubuntu-latest) (push) Failing after 32m57s
versions / local-cache (10, macos-latest) (push) Has been cancelled
versions / local-cache (10, windows-latest) (push) Has been cancelled
versions / local-cache (12, macos-latest) (push) Has been cancelled
versions / local-cache (12, windows-latest) (push) Has been cancelled
versions / local-cache (14, macos-latest) (push) Has been cancelled
versions / local-cache (14, windows-latest) (push) Has been cancelled
versions / lts-syntax (lts/*, macos-latest) (push) Has been cancelled
versions / lts-syntax (lts/*, windows-latest) (push) Has been cancelled
versions / lts-syntax (lts/-1, macos-latest) (push) Has been cancelled
versions / lts-syntax (lts/-1, windows-latest) (push) Has been cancelled
versions / lts-syntax (lts/dubnium, macos-latest) (push) Has been cancelled
versions / lts-syntax (lts/dubnium, windows-latest) (push) Has been cancelled
versions / lts-syntax (lts/erbium, macos-latest) (push) Has been cancelled
versions / lts-syntax (lts/erbium, windows-latest) (push) Has been cancelled
versions / lts-syntax (lts/fermium, macos-latest) (push) Has been cancelled
versions / lts-syntax (lts/fermium, windows-latest) (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-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-latest) (push) Has been cancelled
versions / v8-canary-syntax (20.0.0-v8-canary20221101e50e45c9f8, windows-latest) (push) Has been cancelled
versions / nightly-syntax (16.0.0-nightly20210420a0261d231c, macos-latest) (push) Has been cancelled
versions / nightly-syntax (16.0.0-nightly20210420a0261d231c, windows-latest) (push) Has been cancelled
versions / nightly-syntax (17-nightly, macos-latest) (push) Has been cancelled
versions / nightly-syntax (17-nightly, windows-latest) (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 / rc-syntax (16.0.0-rc.1, macos-latest) (push) Has been cancelled
versions / rc-syntax (16.0.0-rc.1, windows-latest) (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-latest) (push) Has been cancelled
versions / rc-syntax (19.0.0-rc.0, windows-latest) (push) Has been cancelled
versions / manifest (10.15, macos-latest) (push) Has been cancelled
versions / manifest (10.15, windows-latest) (push) Has been cancelled
versions / manifest (12.16.0, macos-latest) (push) Has been cancelled
versions / manifest (12.16.0, windows-latest) (push) Has been cancelled
versions / manifest (14.2.0, macos-latest) (push) Has been cancelled
versions / manifest (14.2.0, windows-latest) (push) Has been cancelled
versions / manifest (16.3.0, macos-latest) (push) Has been cancelled
versions / manifest (16.3.0, windows-latest) (push) Has been cancelled
versions / check-latest (10, macos-latest) (push) Has been cancelled
versions / check-latest (10, windows-latest) (push) Has been cancelled
versions / check-latest (12, macos-latest) (push) Has been cancelled
versions / check-latest (12, windows-latest) (push) Has been cancelled
versions / check-latest (14, macos-latest) (push) Has been cancelled
versions / check-latest (14, windows-latest) (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-latest) (push) Has been cancelled
versions / version-file (.tool-versions, windows-latest) (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-latest) (push) Has been cancelled
versions / version-file (package.json, windows-latest) (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 / node-dist (11, macos-latest) (push) Has been cancelled
versions / node-dist (11, windows-latest) (push) Has been cancelled
versions / node-dist (13, macos-latest) (push) Has been cancelled
versions / node-dist (13, windows-latest) (push) Has been cancelled
versions / old-versions (macos-latest) (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-latest) (push) Has been cancelled
versions / node-latest-aliases (current, windows-latest) (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-latest) (push) Has been cancelled
versions / node-latest-aliases (node, windows-latest) (push) Has been cancelled
40 lines
2.4 KiB
YAML
40 lines
2.4 KiB
YAML
name: 'Setup Node.js environment'
|
|
description: 'Setup a Node.js environment by adding problem matchers and optionally downloading and adding it to the PATH.'
|
|
author: 'GitHub'
|
|
inputs:
|
|
always-auth:
|
|
description: 'Set always-auth in npmrc.'
|
|
default: 'false'
|
|
node-version:
|
|
description: 'Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0.'
|
|
node-version-file:
|
|
description: 'File containing the version Spec of the version to use. Examples: package.json, .nvmrc, .node-version, .tool-versions.'
|
|
architecture:
|
|
description: 'Target architecture for Node to use. Examples: x86, x64. Will use system architecture by default.'
|
|
check-latest:
|
|
description: 'Set this option if you want the action to check for the latest available version that satisfies the version spec.'
|
|
default: false
|
|
registry-url:
|
|
description: 'Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN.'
|
|
scope:
|
|
description: 'Optional scope for authenticating against scoped registries. Will fall back to the repository owner when using the GitHub Packages registry (https://npm.pkg.github.com/).'
|
|
token:
|
|
description: Used to pull node distributions from node-versions. Since there's a default, this is typically not supplied by the user. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting.
|
|
default: ${{ github.server_url == 'https://github.com' && github.token || '' }}
|
|
cache:
|
|
description: 'Used to specify a package manager for caching in the default directory. Supported values: npm, yarn, pnpm.'
|
|
cache-dependency-path:
|
|
description: 'Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc. Supports wildcards or a list of file names for caching multiple dependencies.'
|
|
# TODO: add input to control forcing to pull from cloud or dist.
|
|
# escape valve for someone having issues or needing the absolute latest which isn't cached yet
|
|
outputs:
|
|
cache-hit:
|
|
description: 'A boolean value to indicate if a cache was hit.'
|
|
node-version:
|
|
description: 'The installed node version.'
|
|
runs:
|
|
using: 'node20'
|
|
main: 'dist/setup/index.js'
|
|
post: 'dist/cache-save/index.js'
|
|
post-if: success()
|