mirror of
https://github.com/SukkaW/Surge.git
synced 2026-09-12 18:44:36 +08:00
CI: try pnpm/setup-action own cache
This commit is contained in:
3
.github/workflows/benchmark-download.yml
vendored
3
.github/workflows/benchmark-download.yml
vendored
@@ -59,10 +59,11 @@ jobs:
|
|||||||
- uses: pnpm/action-setup@v6
|
- uses: pnpm/action-setup@v6
|
||||||
with:
|
with:
|
||||||
run_install: false
|
run_install: false
|
||||||
|
cache: true
|
||||||
- uses: actions/setup-node@v6
|
- uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version-file: ".node-version"
|
node-version-file: ".node-version"
|
||||||
cache: "pnpm"
|
package-manager-cache: false
|
||||||
- run: pnpm config set --location=global minimumReleaseAge 0
|
- run: pnpm config set --location=global minimumReleaseAge 0
|
||||||
- run: pnpm install
|
- run: pnpm install
|
||||||
- name: Run download benchmark
|
- name: Run download benchmark
|
||||||
|
|||||||
5
.github/workflows/check-source-domain.yml
vendored
5
.github/workflows/check-source-domain.yml
vendored
@@ -24,13 +24,14 @@ jobs:
|
|||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- uses: pnpm/action-setup@v5
|
- uses: pnpm/action-setup@v6
|
||||||
with:
|
with:
|
||||||
run_install: false
|
run_install: false
|
||||||
|
cache: true
|
||||||
- uses: actions/setup-node@v6
|
- uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version-file: ".node-version"
|
node-version-file: ".node-version"
|
||||||
cache: "pnpm"
|
package-manager-cache: false
|
||||||
- name: Get current date
|
- name: Get current date
|
||||||
id: date
|
id: date
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@@ -72,10 +72,11 @@ jobs:
|
|||||||
- uses: pnpm/action-setup@v6
|
- uses: pnpm/action-setup@v6
|
||||||
with:
|
with:
|
||||||
run_install: false
|
run_install: false
|
||||||
|
cache: true
|
||||||
- uses: actions/setup-node@v6
|
- uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version-file: ".node-version"
|
node-version-file: ".node-version"
|
||||||
cache: "pnpm"
|
package-manager-cache: false
|
||||||
- run: pnpm config set --location=global minimumReleaseAge 0
|
- run: pnpm config set --location=global minimumReleaseAge 0
|
||||||
- run: pnpm install
|
- run: pnpm install
|
||||||
# Foreground pnpm + Node.js setup complete, ensure previous build and cache.db are ready
|
# Foreground pnpm + Node.js setup complete, ensure previous build and cache.db are ready
|
||||||
|
|||||||
Reference in New Issue
Block a user