decktape/.github/workflows/ci.yml

40 lines
752 B
YAML
Raw Normal View History

2022-12-16 11:05:42 +03:00
name: CI
on:
2023-02-13 18:33:36 +03:00
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
- '**.adoc'
- '**.md'
- 'LICENSE'
push:
branches:
2023-02-13 18:51:29 +03:00
- master
2023-02-13 18:33:36 +03:00
paths-ignore:
- 'docs/**'
- '**.adoc'
- '**.md'
- 'LICENSE'
2022-12-16 11:05:42 +03:00
schedule:
2023-02-13 19:13:46 +03:00
- 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@v4
2022-12-16 11:27:35 +03:00
- run: npm ci
- run: npx playwright install firefox
2023-01-30 13:57:53 +03:00
- run: npm run test:generate-snapshot-screenshots
- run: npm run test:generate-pdfs
2022-12-16 11:27:35 +03:00
- run: npm test
- uses: actions/upload-artifact@v4
2022-12-16 11:05:42 +03:00
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30