Skip to content

Commit

Permalink
add yarn start step
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybellwood committed Feb 26, 2024
1 parent 23ae30d commit c1d881a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ui-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
push:
branches:
- main
- cypress-test

jobs:
format-check:
Expand Down Expand Up @@ -55,13 +56,19 @@ jobs:
cd test
make up
- name: Start ui
env:
GRAPHQL_API: http://0.0.0.0:33000/graphql
KEYCLOAK_API: http://0.0.0.0:38088/auth
run: |
yarn build
yarn start
- name: Run Cypress Tests
uses: cypress-io/github-action@v6
with:
config-file: ./cypress/cypress.config.ts
auto-cancel-after-failures: 1
wait-on: "http://0.0.0.0:3000"
build: yarn build && GRAPHQL_API=http://0.0.0.0:33000/graphql KEYCLOAK_API=http://0.0.0.0:38088/auth yarn start
command: yarn cypress:runAll

- name: Stop Docker containers
Expand Down

0 comments on commit c1d881a

Please sign in to comment.