Skip to content

Commit 1a6e07f

Browse files
Separate build and run tests
1 parent 70e96d6 commit 1a6e07f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/playwright.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,14 @@ jobs:
2424
- name: Install Playwright Browsers
2525
run: npx playwright install --with-deps
2626

27-
- name: Build app and run tests
27+
- name: Build app
28+
id: build-app
29+
run: npm run example:nocache
30+
31+
- name: Run tests
2832
id: test-status
29-
run: npm run test:ci:integration
33+
if: contains(steps.build-app.outputs, 'Built in')
34+
run: npm run playwright
3035

3136
# https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#job-status-check-functions
3237
# - name: Set successful workflow status ✅

0 commit comments

Comments
 (0)