diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index 2ac405d..63b80e0 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -60,7 +60,7 @@ jobs: # We only need chromium for CI to save time, unless you configured multi-browser testing - name: Install Playwright Browsers run: | - echo "${{ secrets.SUDO_PASSWORD }}" | sudo -S npx playwright install --with-deps chromium + echo "${{ secrets.SUDO_PASSWORD }}" | sudo -S -E env "PATH=$PATH" npx playwright install --with-deps chromium # This will automatically boot your server.ts, run tests, and tear it down when done - name: Run E2E Tests & Accessibility Audits