mirror of
https://github.com/zen-browser/www.git
synced 2025-07-08 17:30:01 +02:00
fix(ci): add restore-keys for improved cache efficiency
This commit is contained in:
parent
87c4b5bff2
commit
1eff2accb2
1 changed files with 2 additions and 0 deletions
2
.github/workflows/ci-pipeline.yml
vendored
2
.github/workflows/ci-pipeline.yml
vendored
|
@ -110,6 +110,7 @@ jobs:
|
||||||
node_modules
|
node_modules
|
||||||
*/node_modules
|
*/node_modules
|
||||||
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/pnpm-lock.yaml') }}
|
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||||
|
restore-keys: ${{ runner.os }}-node-modules-
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
|
@ -149,6 +150,7 @@ jobs:
|
||||||
node_modules
|
node_modules
|
||||||
*/node_modules
|
*/node_modules
|
||||||
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/pnpm-lock.yaml') }}
|
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||||
|
restore-keys: ${{ runner.os }}-node-modules-
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue