mirror of
https://github.com/zen-browser/www.git
synced 2025-07-08 09:20:00 +02:00
fix(ci): upload cache properly
This commit is contained in:
parent
ed40b49cb8
commit
268e733923
1 changed files with 9 additions and 9 deletions
|
@ -22,15 +22,6 @@ runs:
|
|||
key: ${{ inputs.node-modules-cache-key }}
|
||||
lookup-only: true
|
||||
|
||||
- name: Restore node_modules cache
|
||||
if: steps.check-node-modules-cache.outputs.cache-hit != 'true'
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
node_modules
|
||||
*/node_modules
|
||||
key: ${{ inputs.node-modules-cache-key }}
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
|
@ -47,3 +38,12 @@ runs:
|
|||
if: steps.check-node-modules-cache.outputs.cache-hit != 'true'
|
||||
shell: bash
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Upload node_modules cache
|
||||
if: steps.check-node-modules-cache.outputs.cache-hit != 'true'
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
node_modules
|
||||
*/node_modules
|
||||
key: ${{ inputs.node-modules-cache-key }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue