Build front end before starting services #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E Testing | |
on: [push] | |
jobs: | |
e2e-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "18.18.2" | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Build frontend | |
run: yarn run build | |
- name: Run web service and E2E tests | |
run: docker compose -f docker-compose-e2e-tests.yml up --exit-code-from e2e-tests |