🌅 Update Snapshots #5
This file contains hidden or 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-snapshots: | |
| name: 🌅 Update Snapshots | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup | |
| uses: ./.github/actions/setup | |
| - name: Playwright browsers install | |
| run: pnpm playwright install --with-deps | |
| - run: pnpm nx run-many --parallel=1 -t testronaut --update-snapshots | |
| - run: | | |
| git config --global user.email "bot@marmicode.io" | |
| git config --global user.name "Marmicode Bot" | |
| git add . | |
| git diff --cached --quiet || git commit -a -m "test: ✅ update snapshots" | |
| git push | |
| - uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: 🎭 Playwright Report | |
| path: dist/.playwright | |
| retention-days: 7 |