Add instructions to remove deleted JS / source map files in PR check
This commit is contained in:
parent
c736697abf
commit
b1742f8919
1 changed files with 2 additions and 2 deletions
4
.github/workflows/script/check-js.sh
vendored
4
.github/workflows/script/check-js.sh
vendored
|
|
@ -14,8 +14,8 @@ npm run-script build
|
|||
# Check that repo is still clean
|
||||
if [ ! -z "$(git status --porcelain)" ]; then
|
||||
# If we get a fail here then the PR needs attention
|
||||
>&2 echo "Failed: JavaScript files are not up to date. Run 'npm run-script build' to update"
|
||||
>&2 echo "Failed: JavaScript files are not up to date. Run 'rm -rf lib && npm run-script build' to update"
|
||||
git status
|
||||
exit 1
|
||||
fi
|
||||
echo "Success: JavaScript files are up to date"
|
||||
echo "Success: JavaScript files are up to date"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue