From e171b213c7a16719366b8fde04407882f23b2e6d Mon Sep 17 00:00:00 2001 From: Jan-Paul Kleemans Date: Mon, 20 Nov 2023 16:00:46 +0100 Subject: [PATCH] Move commands to cypress-io/github-action --- .github/workflows/e2e.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 08181c5..7f2b20b 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -16,6 +16,8 @@ jobs: cd test-app npm install npm install vite-svg-loader --save-dev - npm run build - npm run preview - uses: cypress-io/github-action@v6 + with: + working-directory: test-app + build: npm run example:build + start: npm run example:preview