From 7d921cee2ff23d64776209b586dbd1ac8d993332 Mon Sep 17 00:00:00 2001 From: Stepan Vladovskiy Date: Thu, 4 Jul 2024 12:02:28 +0000 Subject: [PATCH] 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 --- .github/workflows/node-ci.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index a3ffa147..ca95572b 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -25,19 +25,4 @@ jobs: run: npx stylelint **/*.{scss,css} - 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 + run: npm run build \ No newline at end of file