We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cf9873 commit 70e96d6Copy full SHA for 70e96d6
.github/workflows/playwright.yml
@@ -24,9 +24,19 @@ jobs:
24
- name: Install Playwright Browsers
25
run: npx playwright install --with-deps
26
27
- - name: Build app
+ - name: Build app and run tests
28
+ id: test-status
29
run: npm run test:ci:integration
30
31
+ # https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#job-status-check-functions
32
+ # - name: Set successful workflow status ✅
33
+ # if: contains(steps.test-status.outputs.test, 'error')
34
+ # run: # success
35
+
36
+ - name: Set failure workflow status 🚨
37
+ if: contains(steps.test-status.outputs.test, 'error')
38
+ run: echo 'failure' # failure
39
40
- name: Upload Playwright report
41
uses: actions/upload-artifact@v4
42
if: ${{ !cancelled() }}
0 commit comments