mirror of
https://github.com/astefanutti/decktape.git
synced 2024-10-05 18:38:17 +03:00
574c643b1a
* fix(deps): update dependencies
* Update workflow
* test: update snapshot PDFs
* fix(fonts): wait for fonts to be fully loaded
* Revert "fix(fonts): wait for fonts to be fully loaded"
This reverts commit 3281d79d8c
.
* update deps even more
* test: update snapshot PDFs
---------
Co-authored-by: Decktape bot <decktape-bot@users.noreply.github.com>
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@v4
|
|
- 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@v4
|
|
if: always()
|
|
with:
|
|
name: playwright-report
|
|
path: playwright-report/
|
|
retention-days: 30
|