mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-18 19:01:29 +00:00
v
This commit is contained in:
parent
e4467851f8
commit
b136241b06
5
.github/workflows/cache-verify.yml
vendored
5
.github/workflows/cache-verify.yml
vendored
@ -18,7 +18,8 @@ jobs:
|
||||
env:
|
||||
LOCK_HASH: ${{ hashFiles('backend/yarn.lock', 'webapp/yarn.lock') }}
|
||||
run: echo "key=node-modules-${{ runner.os }}-${{ env.LOCK_HASH }}" >> $GITHUB_OUTPUT
|
||||
- id: restore
|
||||
- name: Restore node_modules cache
|
||||
id: cache-restore
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
@ -28,7 +29,7 @@ jobs:
|
||||
restore-keys: |
|
||||
node-modules-${{ runner.os }}-
|
||||
node-modules-
|
||||
- run: echo "Cache: ${{ steps.restore.outputs.cache-hit }}"
|
||||
- run: echo "Cache: ${{ steps.cache-restore.outputs.cache-hit }}"
|
||||
- run: cd backend && yarn install && yarn build
|
||||
- run: cd webapp && yarn install && yarn build
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user