@tinycld/bootstrap 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -73,9 +73,27 @@ jobs:
|
|
|
73
73
|
- name: Install (workspace root)
|
|
74
74
|
working-directory: ws
|
|
75
75
|
run: npm install
|
|
76
|
+
# Installs watchman so Metro's file watcher doesn't fall back to
|
|
77
|
+
# polling — see tinycld/app#21 for the trace evidence and the
|
|
78
|
+
# blank-page-after-reload flake it fixed.
|
|
79
|
+
- name: Configure test env
|
|
80
|
+
uses: tinycld/app/.github/actions/configure-test-env@main
|
|
76
81
|
- name: Install Playwright browsers
|
|
77
82
|
working-directory: ws/app
|
|
78
83
|
run: npx playwright install --with-deps chromium
|
|
79
84
|
- name: E2E
|
|
80
85
|
working-directory: ws/${{ env.PACKAGE }}
|
|
81
86
|
run: npx tinycld-pkg test:e2e
|
|
87
|
+
# Capture Playwright's per-failure artifacts (trace, screenshot,
|
|
88
|
+
# video, error-context.md) so a CI failure can be diagnosed
|
|
89
|
+
# without a re-run. `if: failure()` skips the upload on green
|
|
90
|
+
# runs to save bandwidth + retention.
|
|
91
|
+
- name: Upload Playwright artifacts
|
|
92
|
+
if: failure()
|
|
93
|
+
uses: actions/upload-artifact@v4
|
|
94
|
+
with:
|
|
95
|
+
name: playwright-artifacts
|
|
96
|
+
path: |
|
|
97
|
+
ws/${{ env.PACKAGE }}/test-results/
|
|
98
|
+
ws/${{ env.PACKAGE }}/playwright-report/
|
|
99
|
+
retention-days: 14
|