mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-19 03:11:30 +00:00
v
This commit is contained in:
parent
26cbac444e
commit
f82966ff06
6
.github/workflows/cache-verify.yml
vendored
6
.github/workflows/cache-verify.yml
vendored
@ -120,6 +120,9 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Ensure directory structure exists
|
||||
run: mkdir -p backend webapp cypress
|
||||
|
||||
- name: Restore CI cache
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
@ -133,7 +136,6 @@ jobs:
|
||||
restore-keys: |
|
||||
ci-all-cache-${{ runner.os }}-
|
||||
|
||||
# --- Checks ---
|
||||
- name: Check backend/node_modules
|
||||
run: |
|
||||
[ -d backend/node_modules ] && [ -n "$(ls -A backend/node_modules)" ] || (echo "❌ backend/node_modules missing" && exit 1)
|
||||
@ -160,7 +162,6 @@ jobs:
|
||||
run: |
|
||||
[ -x /opt/cucumber-json-formatter ] && /opt/cucumber-json-formatter --help || (echo "❌ Formatter missing" && exit 1)
|
||||
|
||||
# --- Summary ---
|
||||
- name: CI Cache Health Summary
|
||||
run: |
|
||||
echo "📦 CI Cache Health Summary:"
|
||||
@ -190,7 +191,6 @@ jobs:
|
||||
echo "⚠️ Partial cache – some installs might have been required"
|
||||
fi
|
||||
|
||||
|
||||
consolidate-environment:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build-images, cache-environment]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user