Update Snapshots #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Snapshots | |
on: | |
workflow_dispatch: | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
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 '[email protected]' | |
git pull | |
git add . | |
git commit -m "test: update snapshot PDFs" | |
git push |