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:
2
.github/workflows/workflow.yml
vendored
2
.github/workflows/workflow.yml
vendored
@@ -64,6 +64,8 @@ jobs:
|
|||||||
run: pnpm install
|
run: pnpm install
|
||||||
- name: Install Playwright Browsers
|
- name: Install Playwright Browsers
|
||||||
run: pnpm exec ./apps/e2e/node_modules/.bin/playwright install --with-deps
|
run: pnpm exec ./apps/e2e/node_modules/.bin/playwright install --with-deps
|
||||||
|
- name: Run App
|
||||||
|
run: pnpm run dev
|
||||||
- name: Run Playwright tests
|
- name: Run Playwright tests
|
||||||
run: pnpm run test
|
run: pnpm run test
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user