Skip to content

Commit ca918e9

Browse files
update github actions
1 parent b708b30 commit ca918e9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/deploy.yml

+3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ jobs:
2626
- name: Run Cypress tests
2727
uses: cypress-io/github-action@v4
2828
with:
29+
start: yarn start
2930
browser: chrome
31+
wait-on: "http://localhost:3000"
32+
headless: true
3033
- name: Build app
3134
run: yarn build
3235
- name: Deploy to gh-pages

cypress.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"component": {
33
"testFiles": "**/*.test.{js,ts,jsx,tsx}",
44
"componentFolder": "src"
5-
}
5+
},
6+
"baseUrl": "http://localhost:3000"
67
}

0 commit comments

Comments
 (0)