Skip to content

📸 Manually Update Snapshots #53

📸 Manually Update Snapshots

📸 Manually Update Snapshots #53

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