decktape/.github/workflows/ci.yml
Nico Jansen 574c643b1a
fix(deps): update dependencies (#335)
* 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>
2024-07-03 09:09:32 +02:00

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