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:
Stepan Vladovskiy 2024-07-04 12:02:28 +00:00
parent 874654f0eb
commit 7d921cee2f

View File

@ -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