diff --git a/.github/workflows/cache-verify.yml b/.github/workflows/cache-verify.yml index ab3d1af94..61c36d629 100644 --- a/.github/workflows/cache-verify.yml +++ b/.github/workflows/cache-verify.yml @@ -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