Skip to content

Commit

Permalink
[CI] Build frontend before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
usatie committed Oct 28, 2023
1 parent e4e4b49 commit 5781402
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ jobs:
- name: Build images
run: docker compose build

- name: Build frontend
run: docker compose run frontend npm build

- name: Run backend unit tests
run: docker compose run backend sh -c "yarn test"
run: docker compose run backend yarn test

- name: Run backend e2e tests
run: docker compose run backend sh -c "yarn test:e2e"
run: docker compose run backend yarn test:e2e

0 comments on commit 5781402

Please sign in to comment.