Skip to content

Commit

Permalink
github/frontend: Run cypress in CI with app built (#877)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssangervasi authored and allisonking committed Jul 28, 2022
1 parent f5faf52 commit 557b963
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/frontend_pr_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ jobs:
with:
working-directory: clients/admin-ui
install: false
start: npm run dev
start: npm run cy:start
wait-on: "http://localhost:3000"
1 change: 1 addition & 0 deletions clients/admin-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"prod-export": "npm run export && npm run copy-export",
"cy:open": "cypress open",
"cy:run": "cypress run",
"cy:start": "next build && NODE_ENV=test next start",
"openapi:generate": "openapi --input http://localhost:8080/openapi.json --output ./src/types/api --exportCore false --exportServices false --indent 2"
},
"dependencies": {
Expand Down

0 comments on commit 557b963

Please sign in to comment.