feat: e2e tests are tuned for using CI script not only with localhost. But CI logic ssr not used in CI, need to generate frontend
This commit is contained in:
parent
874654f0eb
commit
7d921cee2f
17
.github/workflows/node-ci.yml
vendored
17
.github/workflows/node-ci.yml
vendored
|
@ -25,19 +25,4 @@ jobs:
|
||||||
run: npx stylelint **/*.{scss,css}
|
run: npx stylelint **/*.{scss,css}
|
||||||
|
|
||||||
- name: Test production build
|
- name: Test production build
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Install http-server
|
|
||||||
run: npm install http-server
|
|
||||||
|
|
||||||
- name: Install e2e test dependencies
|
|
||||||
run: npm run e2e:install
|
|
||||||
|
|
||||||
- name: Serve the build directory
|
|
||||||
run: npx http-server ./.output/public -p 8080 --ssl --cert ./tests/certs/cert.pem --key ./tests/certs/key.pem &
|
|
||||||
|
|
||||||
# - name: Run e2e tests
|
|
||||||
# run: npm run e2e:tests
|
|
||||||
|
|
||||||
- name: Run e2e tests
|
|
||||||
run: npm run e2e:tests:ci
|
|
Loading…
Reference in New Issue
Block a user