remove node_modules in diff
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user