Spaces:
Running
Running
Run frontend build before frontend test.
Browse files"npm run build" runs in build_frontend.py too, but errors from that are suppressed,
unfortunately. This causes very slow test failures, as Playwright times
out one by one for each test.
.github/workflows/test.yaml
CHANGED
|
@@ -81,6 +81,7 @@ jobs:
|
|
| 81 |
- name: Run Playwright tests
|
| 82 |
run: |
|
| 83 |
cd lynxkite-app/web
|
|
|
|
| 84 |
npm run test
|
| 85 |
|
| 86 |
- uses: actions/upload-artifact@v4
|
|
|
|
| 81 |
- name: Run Playwright tests
|
| 82 |
run: |
|
| 83 |
cd lynxkite-app/web
|
| 84 |
+
npm run build
|
| 85 |
npm run test
|
| 86 |
|
| 87 |
- uses: actions/upload-artifact@v4
|