Skip to content

Commit

Permalink
ci: 🤖 fix cache breaking snapshot update
Browse files Browse the repository at this point in the history
  • Loading branch information
yjaaidi committed Dec 5, 2023
1 parent e27b39c commit 3316071
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ jobs:
key: ${{ runner.os }}-nx-${{ github.sha }}
restore-keys: ${{ runner.os }}-nx

- run: pnpm nx run-many --parallel=4 -t test-ui -- --update-snapshots
- run: pnpm nx run-many --parallel=4 -t test-ui --skip-nx-cache --update-snapshots

- run: |
- name: Commit & Push
run: |
git config --global user.email "bot@marmicode.io"
git config --global user.name "Marmicode Bot"
git diff --quiet || git commit -a -m "test: ✅ update snapshots"
Expand Down

0 comments on commit 3316071

Please sign in to comment.