Skip to content

Commit

Permalink
feat(#170): Run servers while running cypress tests on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dougy-fresh committed Aug 12, 2023
1 parent 09d1feb commit 5b6dfca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/cypress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,10 @@ jobs:
- name: Cypress run
uses: cypress-io/github-action@v5
with:
start: yarn run e2e
build: yarn run build
browser: chrome
start: yarn run serve
record: true
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion packages/cypress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"clean": "rimraf dist",
"e2e": "cypress run"
"e2e": "cypress run --browser=chrome"
},
"private": true,
"author": "Douglas Wade <[email protected]>",
Expand Down

0 comments on commit 5b6dfca

Please sign in to comment.