e2e build backend and webapp before

This commit is contained in:
resonic-user 2025-06-17 20:17:41 +00:00
parent 134a3878fa
commit e7936c2eb5

View File

@ -181,12 +181,22 @@ jobs:
restore-keys: |
ci-all-cache-${{ runner.os }}-
ci-all-cache-
# rehydrate dependencies
- name: Rehydrate dependencies
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"
# build backend and webapp
- name: Build backend and webapp
run: |
cd backend && yarn build && cd ..
cd webapp && yarn build && cd ..
# run docker compose
- name: Boot system for tests
run: |
docker compose -f docker-compose.yml -f docker-compose.test.yml up --detach backend mailserver webapp
@ -198,12 +208,6 @@ jobs:
sleep 2
done
# build backend and webapp
# - name: Build backend and webapp
# run: |
# cd backend && yarn build && cd ..
# cd webapp && yarn build && cd ..
# Cypress tests
- name: Full stack tests | run tests
id: e2e-tests