Commit f139139 1 parent 3e80d1a commit f139139 Copy full SHA for f139139
File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 9
9
jobs :
10
10
cypress-run :
11
11
concurrency :
12
- group : cypress-${{ github.head_ref || github.ref }}
12
+ group : cypress-${{ github.head_ref || github.ref }}
13
13
runs-on : ubuntu-latest
14
14
steps :
15
15
- name : checkout
28
28
- name : cypress run
29
29
uses : cypress-io/github-action@v4
30
30
env :
31
- PORT : 3000
31
+ VITE_PORT : 3000
32
32
VITE_GRAASP_API_HOST : http://localhost:3636
33
33
VITE_GRAASP_APP_KEY : id-1234567890
34
34
VITE_ENABLE_MOCK_API : true
38
38
install : false
39
39
build : yarn build
40
40
config : baseUrl=http://localhost:3000
41
- start : yarn start:ci
41
+ start : yarn dev
42
42
browser : chrome
43
43
quiet : true
44
44
# point to new cypress@10 config file
Original file line number Diff line number Diff line change 62
62
"hooks:install" : " husky install" ,
63
63
"cypress:open" : " env-cmd -f ./.env.test cypress open --browser chrome" ,
64
64
"test" : " yarn build:test && concurrently -k -s first \" yarn preview:test\" \" yarn cypress:run\" " ,
65
+ "test:ci" : " env-cmd -f ./.env.test cypress run --browser chrome --headless && nyc report --reporter=text --reporter=text-summary" ,
65
66
"cypress:run" : " env-cmd -f ./.env.test cypress run --browser chrome" ,
66
67
"postinstall" : " husky install" ,
67
68
"cov:report" : " open ./coverage/lcov-report/index.html" ,
You can’t perform that action at this time.
0 commit comments