mirror of
https://github.com/astefanutti/decktape.git
synced 2024-09-17 17:37:13 +03:00
23 lines
631 B
YAML
23 lines
631 B
YAML
name: Update snapshots
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
update:
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
token: ${{ secrets.GH_TOKEN }}
|
|
- run: npm ci
|
|
- run: npx playwright install firefox
|
|
- run: npm run test-prepare-pdfs
|
|
- run: npm run build
|
|
- run: npm test -- --update-snapshots
|
|
- 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(screenshots): update snapshots"
|
|
git push |