decktape/.github/workflows/ci.yml

29 lines
599 B
YAML
Raw Normal View History

2022-12-16 11:05:42 +03:00
name: CI
on:
push: ~
pull_request: ~
schedule:
- cron: '0 12 * * *'
2022-12-16 11:10:20 +03:00
2022-12-16 11:05:42 +03:00
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
2022-12-16 11:20:37 +03:00
run: npx playwright install firefox
- name: Prepare pdfs
run: npm run test-prepare-pdfs
2022-12-16 11:05:42 +03:00
- name: Run Playwright tests
run: npm test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30