mirror of
https://github.com/astefanutti/decktape.git
synced 2024-10-26 23:07:33 +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>
24 lines
640 B
YAML
24 lines
640 B
YAML
name: Update Snapshots
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
update:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
token: ${{ secrets.PAT }}
|
|
- run: npm ci
|
|
- run: npx playwright install firefox
|
|
- run: npm run test:generate-pdfs
|
|
- run: rm -rf test/snapshot && mv test/output test/snapshot
|
|
- name: Commit
|
|
run: |
|
|
git config --global user.name 'Decktape bot'
|
|
git config --global user.email 'decktape-bot@users.noreply.github.com'
|
|
git pull
|
|
git add .
|
|
git commit -m "test: update snapshot PDFs"
|
|
git push
|