chore: temporary disable github actions cache (#7388)

This commit is contained in:
Louis Lam
2026-05-13 02:52:58 +08:00
committed by GitHub
parent 0c5371afad
commit b45c6374d5
3 changed files with 35 additions and 30 deletions

View File

@@ -32,12 +32,13 @@ jobs:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with: { persist-credentials: false }
- name: Cache/Restore node_modules
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
id: node-modules-cache
with:
path: node_modules
key: node-modules-${{ runner.os }}-node${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
# Tempoary disable until we understand TanStack npm supply-chain compromise
# - name: Cache/Restore node_modules
# uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
# id: node-modules-cache
# with:
# path: node_modules
# key: node-modules-${{ runner.os }}-node${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
@@ -96,12 +97,13 @@ jobs:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with: { persist-credentials: false }
- name: Cache/Restore node_modules
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
id: node-modules-cache
with:
path: node_modules
key: node-modules-${{ runner.os }}-node${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
# Tempoary disable until we understand TanStack npm supply-chain compromise
# - name: Cache/Restore node_modules
# uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
# id: node-modules-cache
# with:
# path: node_modules
# key: node-modules-${{ runner.os }}-node${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
- name: Use Node.js 20
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
@@ -121,12 +123,13 @@ jobs:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with: { persist-credentials: false }
- name: Cache/Restore node_modules
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
id: node-modules-cache
with:
path: node_modules
key: node-modules-${{ runner.os }}-node${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
# Tempoary disable until we understand TanStack npm supply-chain compromise
# - name: Cache/Restore node_modules
# uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
# id: node-modules-cache
# with:
# path: node_modules
# key: node-modules-${{ runner.os }}-node${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
- name: Setup Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0

View File

@@ -15,12 +15,13 @@ jobs:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with: { persist-credentials: false }
- name: Cache/Restore node_modules
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
id: node-modules-cache
with:
path: node_modules
key: node-modules-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
# Tempoary disable until we understand TanStack npm supply-chain compromise
# - name: Cache/Restore node_modules
# uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
# id: node-modules-cache
# with:
# path: node_modules
# key: node-modules-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: Setup Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0

View File

@@ -46,12 +46,13 @@ jobs:
with:
node-version: 20
- name: Cache/Restore node_modules
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
id: node-modules-cache
with:
path: node_modules
key: node-modules-${{ runner.os }}-node20-${{ hashFiles('**/package-lock.json') }}
# Tempoary disable until we understand TanStack npm supply-chain compromise
# - name: Cache/Restore node_modules
# uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
# id: node-modules-cache
# with:
# path: node_modules
# key: node-modules-${{ runner.os }}-node20-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: npm clean-install --no-fund