Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

Fix nightly e2e tests (#8132)

James Bruntonaf686f923afb
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 23c9702f42..94f5c24f9a 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -19,44 +19,10 @@ permissions:
jobs:
playwright-all-browsers:
- name: Playwright (chromium + firefox + webkit)
- runs-on: ubuntu-latest
- steps:
- - name: Harden the runner (Audit all outbound calls)
- uses: step-security/harden-runner@05e31511f85b41b11d1cf0ef85d0992719546e2c # v2.21.0
- with:
- egress-policy: audit
-
- - name: Checkout repository
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
-
- - name: Set up Node.js
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
- with:
- node-version: "22"
- cache: "npm"
- cache-dependency-path: frontend/package-lock.json
-
- - name: Install Task
- uses: go-task/setup-task@a00fbb05ce67b35648be3c78cbc9fd85354c757e # v2.2.0
- - name: Install all Playwright browsers
- run: task e2e:install
-
- - name: Build frontend (production bundle for vite preview)
- env:
- VITE_BUILD_FOR_PREVIEW: "1"
- run: task frontend:build
-
- - name: Run E2E tests (all browsers)
- run: task e2e:cross-browser
-
- - name: Upload Playwright report
- if: always()
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
- with:
- name: playwright-report-nightly-${{ github.run_id }}
- path: frontend/playwright-report/
- retention-days: 14
+ name: Playwright (stubbed, all browsers)
+ permissions:
+ contents: read
+ uses: ./.github/workflows/e2e-stubbed.yml
# Whole-suite accessibility sweep. Pull requests only scan the stories they
# touch (frontend-a11y.yml) because a full pass takes ~30 minutes; this covers