Skip to content

📸 Manually Update Snapshots #42

📸 Manually Update Snapshots

📸 Manually Update Snapshots #42

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 "[email protected]"
git config --global user.name "GitHub Actions"
git status
git add -A
git commit -m "chore(snapshots): update snapshots" || exit 0
git push