Spaces:
Sleeping
Sleeping
Download tests/playwright/.github/workflows/playwright.yml from AZILS/puter-deploy: direct link, hf CLI and curl.
- Browser
- Download file 696 Bytes
-
https://huggingface.co/spaces/AZILS/puter-deploy/resolve/main/tests/playwright/.github/workflows/playwright.yml
- Command line
-
hf download hf://spaces/AZILS/puter-deploy/tests/playwright/.github/workflows/playwright.yml
-
curl -L -o playwright.yml https://huggingface.co/spaces/AZILS/puter-deploy/resolve/main/tests/playwright/.github/workflows/playwright.yml
696 Bytes
| name: Playwright Tests | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| jobs: | |
| test: | |
| timeout-minutes: 60 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install Playwright Browsers | |
| run: npx playwright install --with-deps | |
| - name: Run Playwright tests | |
| run: npx playwright test | |
| - uses: actions/upload-artifact@v4 | |
| if: ${{ !cancelled() }} | |
| with: | |
| name: playwright-report | |
| path: playwright-report/ | |
| retention-days: 30 | |