mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-18 10:51:28 +00:00
v
This commit is contained in:
parent
7d5eca2764
commit
7696699f3b
7
.github/workflows/cache-verify.yml
vendored
7
.github/workflows/cache-verify.yml
vendored
@ -12,10 +12,11 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with: { node-version: '20' }
|
||||
with:
|
||||
node-version: '20'
|
||||
- run: echo "key=node-modules-${{ runner.os }}-${{ env.LOCK_HASH }}" >> $GITHUB_OUTPUT
|
||||
id: cache-key
|
||||
env: { LOCK_HASH: ${{ hashFiles('backend/yarn.lock', 'webapp/yarn.lock' }} }
|
||||
env: { LOCK_HASH: ${{ hashFiles('backend/yarn.lock', 'webapp/yarn.lock') }} }
|
||||
- uses: actions/cache@v4
|
||||
id: restore
|
||||
with:
|
||||
@ -48,4 +49,4 @@ jobs:
|
||||
curl -sf http://localhost:3000 && echo "✅ up" && exit 0
|
||||
echo "$i..." && sleep 2
|
||||
done
|
||||
echo "❌ no response" && exit 1
|
||||
echo "❌ no response" && exit 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user