remove node_modules in diff

This commit is contained in:
Opportunity
2020-07-07 21:15:35 +08:00
Unverified
parent 534a7e7fc4
commit 70a1af86e5
+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
# Ensure no changes
run: |
git add .
if ! git diff --cached --color=always --exit-code; then
if ! git diff --cached --color=always --exit-code -- . ':!node_modules'; then
echo "::error::Found changed files after build. Please run 'yarn release' and check in all changes."
exit 1
fi