📸 Manually Update Snapshots #53
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: 📸 Manually Update Snapshots | |
# manual trigger | |
on: | |
workflow_dispatch: | |
jobs: | |
udpate-snapshots: | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ github.token }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: ./.github/actions/setup-node | |
- name: Update Snapshots | |
uses: ./.github/actions/update-snapshots | |
- name: Commit Updated Snapshots | |
shell: bash | |
run: | | |
git config --global user.email "actions@github.com" | |
git config --global user.name "GitHub Actions" | |
git status | |
git add -A | |
git commit -m "chore(snapshots): update snapshots" || exit 0 | |
git push |