File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 38
38
uses : cypress-io/github-action@v5
39
39
with :
40
40
browser : chrome
41
- start : ls && ls dist && cp -r dist/ngx-sub-form-demo dist/ngx-sub-form-demo- e2e && sed -i 's/base href="https:\/\/cloudnc.github.io\/ngx-sub-form\/"/base href="\/"/' dist/ngx-sub-form-demo-e2e/index.html && npx http- server --port 4765 ./dist/ngx-sub-form-demo-e2e
41
+ start : yarn start- e2e-file- server
42
42
wait-on : http://localhost:4765/
43
43
wait-on-timeout : 500
44
44
- name : Deploy
Original file line number Diff line number Diff line change 32
32
"commit" : " git add . && git-cz" ,
33
33
"readme:build" : " embedme README.md && yarn run prettier README.md --write" ,
34
34
"readme:check" : " yarn readme:build && ! git status | grep README.md || (echo 'You must commit build and commit changes to README.md!' && exit 1)" ,
35
- "lint" : " ng lint"
35
+ "lint" : " ng lint" ,
36
+ "------------------------ CI ------------------------" : " " ,
37
+ "start-e2e-file-server" : " cp -r dist/ngx-sub-form-demo dist/ngx-sub-form-demo-e2e && sed -i 's/base href=\" https:\\ /\\ /cloudnc.github.io\\ /ngx-sub-form\\ /\" /base href=\"\\ /\" /' dist/ngx-sub-form-demo-e2e/index.html && npx http-server --port 4765 ./dist/ngx-sub-form-demo-e2e"
36
38
},
37
39
"private" : true ,
38
40
"dependencies" : {
You can’t perform that action at this time.
0 commit comments