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
15
.github/workflows/node-ci.yml
vendored
15
.github/workflows/node-ci.yml
vendored
|
@ -26,18 +26,3 @@ jobs:
|
|||
|
||||
- name: Test production 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