Add 'Run App' step to the GitHub workflow

This commit introduces a new step in the GitHub actions workflow file. 'Run App' step, which runs the development server, has been included right before running the Playwright tests. This change is essential for seeing a real-time reflection of changes in the dev server during the testing phase.
This commit is contained in:
giancarlo
2024-04-11 16:38:50 +08:00
parent e4e5cee3f3
commit 49c050c92b

View File

@@ -64,6 +64,8 @@ jobs:
run: pnpm install
- name: Install Playwright Browsers
run: pnpm exec ./apps/e2e/node_modules/.bin/playwright install --with-deps
- name: Run App
run: pnpm run dev
- name: Run Playwright tests
run: pnpm run test
- uses: actions/upload-artifact@v4