We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acfb401 commit 964cf15Copy full SHA for 964cf15
.github/workflows/nodejs.yml
@@ -21,5 +21,14 @@ jobs:
21
npm ci
22
npm run lint
23
npm run build
24
- env:
25
- CI: true
+ - name: check no diff
+ run: |
26
+ diff_files=$(git diff)
27
+ if [[ -n "$diff_files" ]]; then
28
+ echo "Diff:"
29
+ echo ""
30
+ echo "$diff_files"
31
32
+ echo "Please run 'npm run build' locally and commit changes."
33
+ exit 1
34
+ fi
0 commit comments