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
710352bc22
commit
b014ee761e
31
.github/workflows/cache-verify.yml
vendored
31
.github/workflows/cache-verify.yml
vendored
@ -163,16 +163,6 @@ jobs:
|
||||
job: [1, 2, 3, 4, 5, 6, 7, 8]
|
||||
|
||||
steps:
|
||||
- name: Download Docker image artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: /tmp
|
||||
|
||||
- name: Load Docker images
|
||||
run: |
|
||||
docker load < /tmp/backend-image/backend.tar
|
||||
docker load < /tmp/webapp-image/webapp.tar
|
||||
docker load < /tmp/neo4j-image/neo4j.tar
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
@ -195,12 +185,19 @@ jobs:
|
||||
ci-all-cache-${{ runner.os }}-
|
||||
ci-all-cache-
|
||||
|
||||
- name: Rehydrate dependencies
|
||||
- name: Build backend
|
||||
run: cd backend && yarn build
|
||||
|
||||
- name: Download Docker image artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: /tmp
|
||||
|
||||
- name: Load Docker images
|
||||
run: |
|
||||
yarn install --frozen-lockfile
|
||||
cd backend && yarn install --frozen-lockfile && cd ..
|
||||
cd webapp && yarn install --frozen-lockfile && cd ..
|
||||
npx cypress verify || echo "⚠️ Cypress not yet verified"
|
||||
docker load < /tmp/backend-image/backend.tar
|
||||
docker load < /tmp/webapp-image/webapp.tar
|
||||
docker load < /tmp/neo4j-image/neo4j.tar
|
||||
|
||||
- name: Boot system for tests
|
||||
run: |
|
||||
@ -214,10 +211,6 @@ jobs:
|
||||
sleep 2
|
||||
done
|
||||
|
||||
# build backend
|
||||
- name: Build backend
|
||||
run: cd backend && yarn build
|
||||
|
||||
# Cypress tests
|
||||
- name: Full stack tests | run tests
|
||||
id: e2e-tests
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user