Update CI workflow for Node.js and caching
Some checks are pending
e2e-cache / Test npm (Node 20, macos-latest) (push) Waiting to run
e2e-cache / Test npm (Node 20, macos-latest-large) (push) Waiting to run
e2e-cache / Test npm (Node 20, ubuntu-latest) (push) Waiting to run
e2e-cache / Test npm (Node 20, windows-latest) (push) Waiting to run
e2e-cache / Test npm (Node 22, macos-latest) (push) Waiting to run
e2e-cache / Test npm (Node 22, macos-latest-large) (push) Waiting to run
e2e-cache / Test npm (Node 22, ubuntu-latest) (push) Waiting to run
e2e-cache / Test npm (Node 22, windows-latest) (push) Waiting to run
e2e-cache / Test npm (Node 24, macos-latest) (push) Waiting to run
e2e-cache / Test npm (Node 24, macos-latest-large) (push) Waiting to run
e2e-cache / Test npm (Node 24, ubuntu-latest) (push) Waiting to run
e2e-cache / Test npm (Node 24, windows-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 20, macos-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 20, macos-latest-large) (push) Waiting to run
e2e-cache / Test pnpm (Node 20, ubuntu-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 20, windows-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 22, macos-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 22, macos-latest-large) (push) Waiting to run
e2e-cache / Test pnpm (Node 22, ubuntu-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 22, windows-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 24, macos-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 24, macos-latest-large) (push) Waiting to run
e2e-cache / Test pnpm (Node 24, ubuntu-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 24, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 20, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 20, macos-latest-large) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 20, ubuntu-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 20, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 22, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 22, macos-latest-large) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 22, ubuntu-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 22, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 24, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 24, macos-latest-large) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 24, ubuntu-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 24, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 20, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 20, macos-latest-large) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 20, ubuntu-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 20, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 22, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 22, macos-latest-large) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 22, ubuntu-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 22, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 24, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 24, macos-latest-large) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 24, ubuntu-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 24, windows-latest) (push) Waiting to run
e2e-cache / Test yarn subprojects (push) Waiting to run
e2e-cache / Test yarn subprojects-1 (push) Waiting to run
e2e-cache / Test yarn subprojects-2 (push) Waiting to run
e2e-cache / Test yarn subprojects all locally managed (push) Waiting to run
e2e-cache / Test yarn subprojects all locally managed-1 (push) Waiting to run
e2e-cache / Test yarn subprojects all locally managed-2 (push) Waiting to run
e2e-cache / Test yarn subprojects some locally managed (push) Waiting to run
e2e-cache / Test yarn subprojects some locally managed-1 (push) Waiting to run
e2e-cache / Test yarn subprojects some locally managed-2 (push) Waiting to run
e2e-cache / Test yarn subprojects managed by git (push) Waiting to run
e2e-cache / Test yarn subprojects managed by git-1 (push) Waiting to run
e2e-cache / Test yarn subprojects managed by git-2 (push) Waiting to run
e2e-cache / Test auto cache with top-level packageManager (push) Waiting to run
e2e-cache / Test auto cache with top-level packageManager-1 (push) Waiting to run
e2e-cache / Test auto cache with top-level packageManager-2 (push) Waiting to run
e2e-cache / Test auto cache with top-level packageManager-3 (push) Waiting to run
e2e-cache / Test auto cache with top-level packageManager-4 (push) Waiting to run
e2e-cache / Test auto cache with top-level packageManager-5 (push) Waiting to run
e2e-cache / Test auto cache with top-level packageManager-6 (push) Waiting to run
e2e-cache / Test auto cache with top-level packageManager-7 (push) Waiting to run
e2e-cache / Test auto cache with top-level packageManager-8 (push) Waiting to run
e2e-cache / Test auto cache with top-level packageManager-9 (push) Waiting to run
e2e-cache / Test auto cache with top-level packageManager-10 (push) Waiting to run
e2e-cache / Test auto cache with top-level packageManager-11 (push) Waiting to run
e2e-cache / Test auto cache with devEngines.packageManager (push) Waiting to run
e2e-cache / Test auto cache with devEngines.packageManager-1 (push) Waiting to run
e2e-cache / Test auto cache with devEngines.packageManager-2 (push) Waiting to run
e2e-cache / Test auto cache with devEngines.packageManager-3 (push) Waiting to run
e2e-cache / Test auto cache with devEngines.packageManager-4 (push) Waiting to run
e2e-cache / Test auto cache with devEngines.packageManager-5 (push) Waiting to run
e2e-cache / Test auto cache with devEngines.packageManager-6 (push) Waiting to run
e2e-cache / Test auto cache with devEngines.packageManager-7 (push) Waiting to run
e2e-cache / Test auto cache with devEngines.packageManager-8 (push) Waiting to run
e2e-cache / Test auto cache with devEngines.packageManager-9 (push) Waiting to run
e2e-cache / Test auto cache with devEngines.packageManager-10 (push) Waiting to run
e2e-cache / Test auto cache with devEngines.packageManager-11 (push) Waiting to run
versions / local-cache (20, macos-latest) (push) Waiting to run
versions / local-cache (20, macos-latest-large) (push) Waiting to run
versions / local-cache (20, ubuntu-latest) (push) Waiting to run
versions / local-cache (20, windows-latest) (push) Waiting to run
versions / local-cache (22, macos-latest) (push) Waiting to run
versions / local-cache (22, macos-latest-large) (push) Waiting to run
versions / local-cache (22, ubuntu-latest) (push) Waiting to run
versions / local-cache (22, windows-latest) (push) Waiting to run
versions / local-cache (24, macos-latest) (push) Waiting to run
versions / local-cache (24, macos-latest-large) (push) Waiting to run
versions / local-cache (24, ubuntu-latest) (push) Waiting to run
versions / local-cache (24, windows-latest) (push) Waiting to run
versions / lts-syntax (lts/*, macos-latest-large) (push) Waiting to run
versions / lts-syntax (lts/*, ubuntu-latest) (push) Waiting to run
versions / lts-syntax (lts/*, windows-latest) (push) Waiting to run
versions / lts-syntax (lts/-1, macos-latest-large) (push) Waiting to run
versions / lts-syntax (lts/-1, ubuntu-latest) (push) Waiting to run
versions / lts-syntax (lts/-1, windows-latest) (push) Waiting to run
versions / lts-syntax (lts/dubnium, macos-latest-large) (push) Waiting to run
versions / lts-syntax (lts/dubnium, ubuntu-latest) (push) Waiting to run
versions / lts-syntax (lts/dubnium, windows-latest) (push) Waiting to run
versions / lts-syntax (lts/erbium, macos-latest-large) (push) Waiting to run
versions / lts-syntax (lts/erbium, ubuntu-latest) (push) Waiting to run
versions / lts-syntax (lts/erbium, windows-latest) (push) Waiting to run
versions / lts-syntax (lts/fermium, macos-latest-large) (push) Waiting to run
versions / lts-syntax (lts/fermium, ubuntu-latest) (push) Waiting to run
versions / lts-syntax (lts/fermium, windows-latest) (push) Waiting to run
versions / v8-canary-syntax (20-v8-canary, macos-latest) (push) Waiting to run
versions / v8-canary-syntax (20-v8-canary, macos-latest-large) (push) Waiting to run
versions / v8-canary-syntax (20-v8-canary, ubuntu-latest) (push) Waiting to run
versions / v8-canary-syntax (20-v8-canary, windows-latest) (push) Waiting to run
versions / v8-canary-syntax (20.0.0-v8-canary, macos-latest) (push) Waiting to run
versions / v8-canary-syntax (20.0.0-v8-canary, macos-latest-large) (push) Waiting to run
versions / v8-canary-syntax (20.0.0-v8-canary, ubuntu-latest) (push) Waiting to run
versions / v8-canary-syntax (20.0.0-v8-canary, windows-latest) (push) Waiting to run
versions / v8-canary-syntax (20.0.0-v8-canary20221101e50e45c9f8, macos-latest) (push) Waiting to run
versions / v8-canary-syntax (20.0.0-v8-canary20221101e50e45c9f8, macos-latest-large) (push) Waiting to run
versions / v8-canary-syntax (20.0.0-v8-canary20221101e50e45c9f8, ubuntu-latest) (push) Waiting to run
versions / v8-canary-syntax (20.0.0-v8-canary20221101e50e45c9f8, windows-latest) (push) Waiting to run
versions / nightly-syntax (20-nightly, macos-latest) (push) Waiting to run
versions / nightly-syntax (20-nightly, macos-latest-large) (push) Waiting to run
versions / nightly-syntax (20-nightly, ubuntu-latest) (push) Waiting to run
versions / nightly-syntax (20-nightly, windows-latest) (push) Waiting to run
versions / nightly-syntax (24.0.0-nightly, macos-latest) (push) Waiting to run
versions / nightly-syntax (24.0.0-nightly, macos-latest-large) (push) Waiting to run
versions / nightly-syntax (24.0.0-nightly, ubuntu-latest) (push) Waiting to run
versions / nightly-syntax (24.0.0-nightly, windows-latest) (push) Waiting to run
versions / nightly-syntax (25-nightly, macos-latest) (push) Waiting to run
versions / nightly-syntax (25-nightly, macos-latest-large) (push) Waiting to run
versions / nightly-syntax (25-nightly, ubuntu-latest) (push) Waiting to run
versions / nightly-syntax (25-nightly, windows-latest) (push) Waiting to run
versions / rc-syntax (20.0.0-rc.1, macos-latest) (push) Waiting to run
versions / rc-syntax (20.0.0-rc.1, macos-latest-large) (push) Waiting to run
versions / rc-syntax (20.0.0-rc.1, ubuntu-latest) (push) Waiting to run
versions / rc-syntax (20.0.0-rc.1, windows-latest) (push) Waiting to run
versions / rc-syntax (22.14.0-rc.1, macos-latest) (push) Waiting to run
versions / rc-syntax (22.14.0-rc.1, macos-latest-large) (push) Waiting to run
versions / rc-syntax (22.14.0-rc.1, ubuntu-latest) (push) Waiting to run
versions / rc-syntax (22.14.0-rc.1, windows-latest) (push) Waiting to run
versions / rc-syntax (24.0.0-rc.4, macos-latest) (push) Waiting to run
versions / rc-syntax (24.0.0-rc.4, macos-latest-large) (push) Waiting to run
versions / rc-syntax (24.0.0-rc.4, ubuntu-latest) (push) Waiting to run
versions / rc-syntax (24.0.0-rc.4, windows-latest) (push) Waiting to run
versions / manifest (20.10.0, macos-latest) (push) Waiting to run
versions / manifest (20.10.0, macos-latest-large) (push) Waiting to run
versions / manifest (20.10.0, ubuntu-latest) (push) Waiting to run
versions / manifest (20.10.0, windows-latest) (push) Waiting to run
versions / manifest (22.0.0, macos-latest) (push) Waiting to run
versions / manifest (22.0.0, macos-latest-large) (push) Waiting to run
versions / manifest (22.0.0, ubuntu-latest) (push) Waiting to run
versions / manifest (22.0.0, windows-latest) (push) Waiting to run
versions / manifest (24.9.0, macos-latest) (push) Waiting to run
versions / manifest (24.9.0, macos-latest-large) (push) Waiting to run
versions / manifest (24.9.0, ubuntu-latest) (push) Waiting to run
versions / manifest (24.9.0, windows-latest) (push) Waiting to run
versions / check-latest (20, macos-latest) (push) Waiting to run
versions / check-latest (20, macos-latest-large) (push) Waiting to run
versions / check-latest (20, ubuntu-latest) (push) Waiting to run
versions / check-latest (20, windows-latest) (push) Waiting to run
versions / check-latest (22, macos-latest) (push) Waiting to run
versions / check-latest (22, macos-latest-large) (push) Waiting to run
versions / check-latest (22, ubuntu-latest) (push) Waiting to run
versions / check-latest (22, windows-latest) (push) Waiting to run
versions / check-latest (24, macos-latest) (push) Waiting to run
versions / check-latest (24, macos-latest-large) (push) Waiting to run
versions / check-latest (24, ubuntu-latest) (push) Waiting to run
versions / check-latest (24, windows-latest) (push) Waiting to run
versions / version-file (.nvmrc, macos-latest) (push) Waiting to run
versions / version-file (.nvmrc, macos-latest-large) (push) Waiting to run
versions / version-file (.nvmrc, ubuntu-latest) (push) Waiting to run
versions / version-file (.nvmrc, windows-latest) (push) Waiting to run
versions / version-file (.tool-versions, macos-latest) (push) Waiting to run
versions / version-file (.tool-versions, macos-latest-large) (push) Waiting to run
versions / version-file (.tool-versions, ubuntu-latest) (push) Waiting to run
versions / version-file (.tool-versions, windows-latest) (push) Waiting to run
versions / version-file (.tool-versions-node, macos-latest) (push) Waiting to run
versions / version-file (.tool-versions-node, macos-latest-large) (push) Waiting to run
versions / version-file (.tool-versions-node, ubuntu-latest) (push) Waiting to run
versions / version-file (.tool-versions-node, windows-latest) (push) Waiting to run
versions / version-file (package.json, macos-latest) (push) Waiting to run
versions / version-file (package.json, macos-latest-large) (push) Waiting to run
versions / version-file (package.json, ubuntu-latest) (push) Waiting to run
versions / version-file (package.json, windows-latest) (push) Waiting to run
versions / version-file-volta (macos-latest) (push) Waiting to run
versions / version-file-volta (macos-latest-large) (push) Waiting to run
versions / version-file-volta (ubuntu-latest) (push) Waiting to run
versions / version-file-volta (windows-latest) (push) Waiting to run
versions / version-file-volta-extends (macos-latest) (push) Waiting to run
versions / version-file-volta-extends (macos-latest-large) (push) Waiting to run
versions / version-file-volta-extends (ubuntu-latest) (push) Waiting to run
versions / version-file-volta-extends (windows-latest) (push) Waiting to run
versions / node-dist (17, macos-latest) (push) Waiting to run
versions / node-dist (17, macos-latest-large) (push) Waiting to run
versions / node-dist (17, ubuntu-latest) (push) Waiting to run
versions / node-dist (17, windows-latest) (push) Waiting to run
versions / node-dist (19, macos-latest) (push) Waiting to run
versions / node-dist (19, macos-latest-large) (push) Waiting to run
versions / node-dist (19, ubuntu-latest) (push) Waiting to run
versions / node-dist (19, windows-latest) (push) Waiting to run
versions / old-versions (macos-latest-large) (push) Waiting to run
versions / old-versions (ubuntu-latest) (push) Waiting to run
versions / old-versions (windows-latest) (push) Waiting to run
versions / arch (push) Waiting to run
versions / node-latest-aliases (current, macos-latest) (push) Waiting to run
versions / node-latest-aliases (current, macos-latest-large) (push) Waiting to run
versions / node-latest-aliases (current, ubuntu-latest) (push) Waiting to run
versions / node-latest-aliases (current, windows-latest) (push) Waiting to run
versions / node-latest-aliases (latest, macos-latest) (push) Waiting to run
versions / node-latest-aliases (latest, macos-latest-large) (push) Waiting to run
versions / node-latest-aliases (latest, ubuntu-latest) (push) Waiting to run
versions / node-latest-aliases (latest, windows-latest) (push) Waiting to run
versions / node-latest-aliases (node, macos-latest) (push) Waiting to run
versions / node-latest-aliases (node, macos-latest-large) (push) Waiting to run
versions / node-latest-aliases (node, ubuntu-latest) (push) Waiting to run
versions / node-latest-aliases (node, windows-latest) (push) Waiting to run

This commit is contained in:
Priya Gupta 2025-10-03 16:30:51 +05:30 committed by GitHub
parent 2ba20c9d76
commit 70df948295
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,7 @@ on:
- '**.md'
push:
branches:
- main
- macos-15-x64-runner-test
- releases/*
paths-ignore:
- '**.md'
@ -18,8 +18,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
node-version: [18, 20, 22, 24]
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@v5
- name: Clean global cache
@ -41,8 +41,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
node-version: [18, 20, 22, 24]
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@v5
- name: Install pnpm
@ -74,8 +74,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
node-version: [18, 20, 24]
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@v5
- name: Yarn version
@ -106,8 +106,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
node-version: [18, 20, 22, 24]
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@v5
- name: Update yarn
@ -139,7 +139,7 @@ jobs:
name: Test yarn subprojects
strategy:
matrix:
node-version: [18, 20, 22, 24]
node-version: [20, 22, 24]
runs-on: ubuntu-latest
steps:
@ -166,7 +166,7 @@ jobs:
name: Test yarn subprojects all locally managed
strategy:
matrix:
node-version: [18, 20, 22, 24]
node-version: [20, 22, 24]
runs-on: ubuntu-latest
steps:
@ -193,7 +193,7 @@ jobs:
name: Test yarn subprojects some locally managed
strategy:
matrix:
node-version: [18, 20, 22, 24]
node-version: [20, 22, 24]
runs-on: ubuntu-latest
steps:
@ -220,7 +220,7 @@ jobs:
name: Test yarn subprojects managed by git
strategy:
matrix:
node-version: [18, 20, 22, 24]
node-version: [20, 22, 24]
runs-on: ubuntu-latest
steps:
@ -244,14 +244,14 @@ jobs:
sub2/*.lock
sub3/*.lock
node-npm-package-manager-cache:
name: Test enabling cache if package manager field is present (Node ${{ matrix.node-version }}, ${{ matrix.os }})
node-npm-packageManager-auto-cache:
name: Test auto cache with top-level packageManager
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
node-version: [18, 20, 22]
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@v5
- name: Create package.json with packageManager field
@ -268,3 +268,37 @@ jobs:
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
node-npm-devEngines-auto-cache:
name: Test auto cache with devEngines.packageManager
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@v5
- name: Create package.json with devEngines field
run: |
echo '{
"name": "test-project",
"version": "1.0.0",
"devEngines": {
"packageManager": {
"name": "npm",
"onFail": "error"
}
}
}' > package.json
- name: Clean global cache
run: npm cache clean --force
- name: Setup Node with caching enabled
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash