galaxyproject/jxtx (opens in new tab)
1 workflow
Playwright Tests
.github/workflows/playwright.yml (opens in new tab)Triggers
push pull_request
Jobs
| Job | Runs on | Steps | Actions used |
|---|---|---|---|
| test | ubuntu-latest | 7 | actions/checkout@v4 actions/setup-node@v4 actions/upload-artifact@v4 |
Raw YAML
name: Playwright Tests
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Build site
run: npm run build
- name: Run Playwright smoke tests
run: npm test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30 Last fetched: