mirror of
https://github.com/astefanutti/decktape.git
synced 2024-10-06 02:47:17 +03:00
40 lines
752 B
YAML
40 lines
752 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- '**.adoc'
|
|
- '**.md'
|
|
- 'LICENSE'
|
|
push:
|
|
branches:
|
|
- master
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- '**.adoc'
|
|
- '**.md'
|
|
- 'LICENSE'
|
|
schedule:
|
|
- cron: '0 12 * * *'
|
|
|
|
jobs:
|
|
test:
|
|
timeout-minutes: 60
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: npm ci
|
|
- run: npx playwright install firefox
|
|
- run: npm run test:generate-snapshot-screenshots
|
|
- run: npm run test:generate-pdfs
|
|
- run: npm test
|
|
- uses: actions/upload-artifact@v3
|
|
if: always()
|
|
with:
|
|
name: playwright-report
|
|
path: playwright-report/
|
|
retention-days: 30
|