Skip to content

Commit

Permalink
fix(CI): Add a git diff-index
Browse files Browse the repository at this point in the history
  • Loading branch information
GabsEdits authored Apr 23, 2024
1 parent e7c7e40 commit 2a2ef62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
with:
version: latest
- run: pnpm install
- run: git diff-index --quiet HEAD -- || { echo "Git working directory not clean."; exit 1; }
- run: pnpm version patch
- run: pnpm publish
env:
Expand Down

0 comments on commit 2a2ef62

Please sign in to comment.