mirror of
https://github.com/actions/setup-node.git
synced 2025-04-14 15:33:34 +00:00

Some checks failed
Basic validation / Basic validation (push) Failing after 0s
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (12, ubuntu-latest) (push) Failing after 4s
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, ubuntu-latest) (push) Failing after 2s
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, ubuntu-latest) (push) Failing after 2s
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (12, ubuntu-latest) (push) Failing after 2s
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, ubuntu-latest) (push) Failing after 2s
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, ubuntu-latest) (push) Failing after 2s
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, ubuntu-latest) (push) Failing after 1s
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, ubuntu-latest) (push) Failing after 1s
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (12, ubuntu-latest) (push) Failing after 1s
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, ubuntu-latest) (push) Failing after 1s
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, ubuntu-latest) (push) Failing after 2s
e2e-cache / Test yarn subprojects (12) (push) Failing after 2s
e2e-cache / Test yarn subprojects (14) (push) Failing after 2s
e2e-cache / Test yarn subprojects (16) (push) Failing after 2s
e2e-cache / Test yarn subprojects all locally managed (12) (push) Failing after 2s
e2e-cache / Test yarn subprojects all locally managed (14) (push) Failing after 1s
e2e-cache / Test yarn subprojects all locally managed (16) (push) Failing after 2s
e2e-cache / Test yarn subprojects some locally managed (12) (push) Failing after 2s
e2e-cache / Test yarn subprojects some locally managed (14) (push) Failing after 1s
e2e-cache / Test yarn subprojects some locally managed (16) (push) Failing after 2s
e2e-cache / Test yarn subprojects managed by git (12) (push) Failing after 2s
e2e-cache / Test yarn subprojects managed by git (14) (push) Failing after 2s
e2e-cache / Test yarn subprojects managed by git (16) (push) Failing after 2s
proxy / test-proxy (push) Failing after 23s
proxy / test-bypass-proxy (push) Failing after 2s
versions / local-cache (10, ubuntu-latest) (push) Failing after 1s
versions / local-cache (12, ubuntu-latest) (push) Failing after 1s
versions / local-cache (14, ubuntu-latest) (push) Failing after 1s
versions / lts-syntax (lts/*, ubuntu-latest) (push) Failing after 1s
versions / lts-syntax (lts/-1, ubuntu-latest) (push) Failing after 1s
versions / lts-syntax (lts/dubnium, ubuntu-latest) (push) Failing after 2s
versions / lts-syntax (lts/erbium, ubuntu-latest) (push) Failing after 2s
versions / lts-syntax (lts/fermium, ubuntu-latest) (push) Failing after 2s
versions / v8-canary-syntax (20-v8-canary, ubuntu-latest) (push) Failing after 2s
versions / v8-canary-syntax (20.0.0-v8-canary, ubuntu-latest) (push) Failing after 2s
versions / v8-canary-syntax (20.0.0-v8-canary20221101e50e45c9f8, ubuntu-latest) (push) Failing after 2s
versions / nightly-syntax (16.0.0-nightly20210420a0261d231c, ubuntu-latest) (push) Failing after 2s
versions / nightly-syntax (17-nightly, ubuntu-latest) (push) Failing after 2s
versions / nightly-syntax (18.0.0-nightly, ubuntu-latest) (push) Failing after 2s
versions / rc-syntax (16.0.0-rc.1, ubuntu-latest) (push) Failing after 2s
versions / rc-syntax (18.0.0-rc.2, ubuntu-latest) (push) Failing after 2s
versions / rc-syntax (19.0.0-rc.0, ubuntu-latest) (push) Failing after 3s
versions / manifest (10.15, ubuntu-latest) (push) Failing after 1s
versions / manifest (12.16.0, ubuntu-latest) (push) Failing after 2s
versions / manifest (14.2.0, ubuntu-latest) (push) Failing after 2s
versions / manifest (16.3.0, ubuntu-latest) (push) Failing after 2s
versions / check-latest (10, ubuntu-latest) (push) Failing after 2s
versions / check-latest (12, ubuntu-latest) (push) Failing after 2s
versions / check-latest (14, ubuntu-latest) (push) Failing after 2s
versions / version-file (.nvmrc, ubuntu-latest) (push) Failing after 2s
versions / version-file (.tool-versions, ubuntu-latest) (push) Failing after 2s
versions / version-file (.tool-versions-node, ubuntu-latest) (push) Failing after 1s
versions / version-file (package.json, ubuntu-latest) (push) Failing after 1s
versions / version-file-volta (ubuntu-latest) (push) Failing after 2s
versions / node-dist (11, ubuntu-latest) (push) Failing after 2s
versions / node-dist (13, ubuntu-latest) (push) Failing after 2s
versions / old-versions (ubuntu-latest) (push) Failing after 2s
versions / node-latest-aliases (current, ubuntu-latest) (push) Failing after 2s
versions / node-latest-aliases (latest, ubuntu-latest) (push) Failing after 2s
versions / node-latest-aliases (node, ubuntu-latest) (push) Failing after 2s
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (12, macos-13) (push) Has been cancelled
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (12, windows-latest) (push) Has been cancelled
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, macos-13) (push) Has been cancelled
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, windows-latest) (push) Has been cancelled
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, macos-13) (push) Has been cancelled
e2e-cache / Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, windows-latest) (push) Has been cancelled
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (12, macos-13) (push) Has been cancelled
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (12, windows-latest) (push) Has been cancelled
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, macos-13) (push) Has been cancelled
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, windows-latest) (push) Has been cancelled
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, macos-13) (push) Has been cancelled
e2e-cache / Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, windows-latest) (push) Has been cancelled
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, macos-13) (push) Has been cancelled
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, windows-latest) (push) Has been cancelled
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, macos-13) (push) Has been cancelled
e2e-cache / Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, windows-latest) (push) Has been cancelled
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (12, macos-13) (push) Has been cancelled
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (12, windows-latest) (push) Has been cancelled
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, macos-13) (push) Has been cancelled
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (14, windows-latest) (push) Has been cancelled
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, macos-13) (push) Has been cancelled
e2e-cache / Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }}) (16, windows-latest) (push) Has been cancelled
versions / local-cache (10, macos-13) (push) Has been cancelled
versions / local-cache (10, windows-latest) (push) Has been cancelled
versions / local-cache (12, macos-13) (push) Has been cancelled
versions / local-cache (12, windows-latest) (push) Has been cancelled
versions / local-cache (14, macos-13) (push) Has been cancelled
versions / local-cache (14, 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, 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, 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, windows-latest) (push) Has been cancelled
versions / nightly-syntax (16.0.0-nightly20210420a0261d231c, macos-13) (push) Has been cancelled
versions / nightly-syntax (16.0.0-nightly20210420a0261d231c, windows-latest) (push) Has been cancelled
versions / nightly-syntax (17-nightly, macos-13) (push) Has been cancelled
versions / nightly-syntax (17-nightly, 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, windows-latest) (push) Has been cancelled
versions / rc-syntax (16.0.0-rc.1, macos-13) (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-13) (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, windows-latest) (push) Has been cancelled
versions / manifest (10.15, macos-13) (push) Has been cancelled
versions / manifest (10.15, windows-latest) (push) Has been cancelled
versions / manifest (12.16.0, macos-13) (push) Has been cancelled
versions / manifest (12.16.0, windows-latest) (push) Has been cancelled
versions / manifest (14.2.0, macos-13) (push) Has been cancelled
versions / manifest (14.2.0, windows-latest) (push) Has been cancelled
versions / manifest (16.3.0, macos-13) (push) Has been cancelled
versions / manifest (16.3.0, windows-latest) (push) Has been cancelled
versions / check-latest (10, macos-13) (push) Has been cancelled
versions / check-latest (10, windows-latest) (push) Has been cancelled
versions / check-latest (12, macos-13) (push) Has been cancelled
versions / check-latest (12, windows-latest) (push) Has been cancelled
versions / check-latest (14, macos-13) (push) Has been cancelled
versions / check-latest (14, windows-latest) (push) Has been cancelled
versions / version-file (.nvmrc, macos-13) (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, windows-latest) (push) Has been cancelled
versions / version-file (.tool-versions-node, macos-13) (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, windows-latest) (push) Has been cancelled
versions / version-file-volta (macos-13) (push) Has been cancelled
versions / version-file-volta (windows-latest) (push) Has been cancelled
versions / node-dist (11, macos-13) (push) Has been cancelled
versions / node-dist (11, windows-latest) (push) Has been cancelled
versions / node-dist (13, macos-13) (push) Has been cancelled
versions / node-dist (13, 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, windows-latest) (push) Has been cancelled
versions / node-latest-aliases (latest, macos-13) (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, windows-latest) (push) Has been cancelled
* actions/cache upgarde * macos-latest to macos-13 * fix check failures --------- Co-authored-by: “gowridurgad” <“hgowridurgad@github.com>
246 lines
7.0 KiB
YAML
246 lines
7.0 KiB
YAML
name: e2e-cache
|
|
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- '**.md'
|
|
push:
|
|
branches:
|
|
- main
|
|
- releases/*
|
|
paths-ignore:
|
|
- '**.md'
|
|
|
|
jobs:
|
|
node-npm-depencies-caching:
|
|
name: Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }})
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-13]
|
|
node-version: [12, 14, 16]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Clean global cache
|
|
run: npm cache clean --force
|
|
- name: Setup Node
|
|
uses: ./
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'npm'
|
|
- name: Install dependencies
|
|
run: npm install
|
|
- name: Verify node and npm
|
|
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
|
|
shell: bash
|
|
|
|
node-pnpm-depencies-caching:
|
|
name: Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }})
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-13]
|
|
node-version: [12, 14, 16]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Install pnpm
|
|
uses: pnpm/action-setup@v2
|
|
with:
|
|
version: 6.10.0
|
|
- name: Generate pnpm file
|
|
run: pnpm install
|
|
- name: Remove dependencies
|
|
shell: pwsh
|
|
run: Remove-Item node_modules -Force -Recurse
|
|
- name: Clean global cache
|
|
run: rm -rf ~/.pnpm-store
|
|
shell: bash
|
|
- name: Setup Node
|
|
uses: ./
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'pnpm'
|
|
- name: Install dependencies
|
|
run: pnpm install
|
|
- name: Verify node and pnpm
|
|
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
|
|
shell: bash
|
|
|
|
node-yarn1-depencies-caching:
|
|
name: Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }})
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-13]
|
|
node-version: [14, 16]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Yarn version
|
|
run: yarn --version
|
|
- name: Generate yarn file
|
|
run: yarn install
|
|
- name: Remove dependencies
|
|
shell: pwsh
|
|
run: Remove-Item node_modules -Force -Recurse
|
|
- name: Clean global cache
|
|
run: yarn cache clean
|
|
- name: Setup Node
|
|
uses: ./
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'yarn'
|
|
- name: Install dependencies
|
|
run: yarn install
|
|
- name: Verify node and yarn
|
|
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
|
|
shell: bash
|
|
|
|
node-yarn3-depencies-caching:
|
|
name: Test yarn 3 (Node ${{ matrix.node-version}}, ${{ matrix.os }})
|
|
runs-on: ${{ matrix.os }}
|
|
env:
|
|
YARN_ENABLE_IMMUTABLE_INSTALLS: false
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-13]
|
|
node-version: [12, 14, 16]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update yarn
|
|
run: yarn set version 3.6.4
|
|
- name: Yarn version
|
|
run: yarn --version
|
|
- name: Generate simple .yarnrc.yml
|
|
run: |
|
|
echo "nodeLinker: node-modules" >> .yarnrc.yml
|
|
- name: Generate yarn file
|
|
run: yarn install
|
|
- name: Remove dependencies
|
|
shell: pwsh
|
|
run: Remove-Item node_modules -Force -Recurse
|
|
- name: Clean global cache
|
|
run: yarn cache clean --all
|
|
- name: Setup Node
|
|
uses: ./
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'yarn'
|
|
- name: Install dependencies
|
|
run: yarn install
|
|
- name: Verify node and yarn
|
|
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
|
|
shell: bash
|
|
|
|
yarn-subprojects:
|
|
name: Test yarn subprojects
|
|
strategy:
|
|
matrix:
|
|
node-version: [12, 14, 16]
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: prepare sub-projects
|
|
run: __tests__/prepare-yarn-subprojects.sh yarn1
|
|
|
|
# expect
|
|
# - no errors
|
|
# - log
|
|
# ##[debug]Cache Paths:
|
|
# ##[debug]["sub2/.yarn/cache","sub3/.yarn/cache","../../../.cache/yarn/v6"]
|
|
- name: Setup Node
|
|
uses: ./
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'yarn'
|
|
cache-dependency-path: |
|
|
**/*.lock
|
|
yarn.lock
|
|
|
|
yarn-subprojects-berry-local:
|
|
name: Test yarn subprojects all locally managed
|
|
strategy:
|
|
matrix:
|
|
node-version: [12, 14, 16]
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: prepare sub-projects
|
|
run: __tests__/prepare-yarn-subprojects.sh keepcache keepcache
|
|
|
|
# expect
|
|
# - no errors
|
|
# - log
|
|
# ##[info]All dependencies are managed locally by yarn3, the previous cache can be used
|
|
# ##[debug]["node-cache-Linux-yarn-401024703386272f1a950c9f014cbb1bb79a7a5b6e1fb00e8b90d06734af41ee","node-cache-Linux-yarn"]
|
|
- name: Setup Node
|
|
uses: ./
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'yarn'
|
|
cache-dependency-path: |
|
|
sub2/*.lock
|
|
sub3/*.lock
|
|
|
|
yarn-subprojects-berry-global:
|
|
name: Test yarn subprojects some locally managed
|
|
strategy:
|
|
matrix:
|
|
node-version: [12, 14, 16]
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: prepare sub-projects
|
|
run: __tests__/prepare-yarn-subprojects.sh global
|
|
|
|
# expect
|
|
# - no errors
|
|
# - log must
|
|
# ##[debug]"/home/runner/work/setup-node-test/setup-node-test/sub2" dependencies are managed by yarn 3 locally
|
|
# ##[debug]"/home/runner/work/setup-node-test/setup-node-test/sub3" dependencies are not managed by yarn 3 locally
|
|
- name: Setup Node
|
|
uses: ./
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'yarn'
|
|
cache-dependency-path: |
|
|
sub2/*.lock
|
|
sub3/*.lock
|
|
|
|
yarn-subprojects-berry-git:
|
|
name: Test yarn subprojects managed by git
|
|
strategy:
|
|
matrix:
|
|
node-version: [12, 14, 16]
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: prepare sub-projects
|
|
run: /bin/bash __tests__/prepare-yarn-subprojects.sh keepcache
|
|
|
|
# expect
|
|
# - no errors
|
|
# - log
|
|
# [debug]"/home/runner/work/setup-node-test/setup-node-test/sub2" has .yarn/cache - dependencies are kept in the repository
|
|
# [debug]"/home/runner/work/setup-node-test/setup-node-test/sub3" has .yarn/cache - dependencies are kept in the repository
|
|
# [debug]["node-cache-Linux-yarn-401024703386272f1a950c9f014cbb1bb79a7a5b6e1fb00e8b90d06734af41ee"]
|
|
- name: Setup Node
|
|
uses: ./
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'yarn'
|
|
cache-dependency-path: |
|
|
sub2/*.lock
|
|
sub3/*.lock
|