clean the lib dir before building
This commit is contained in:
parent
bd54c20d3e
commit
4bc0c2b0e7
1 changed files with 2 additions and 0 deletions
2
.github/workflows/pr-checks.yml
vendored
2
.github/workflows/pr-checks.yml
vendored
|
|
@ -24,6 +24,8 @@ jobs:
|
||||||
>&2 echo "Failed: Repo should be clean before testing!"
|
>&2 echo "Failed: Repo should be clean before testing!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
# Wipe the lib directory incase there are extra unnecessary files in there
|
||||||
|
rm -rf lib
|
||||||
# Generate the JavaScript files
|
# Generate the JavaScript files
|
||||||
npm run-script build
|
npm run-script build
|
||||||
# Check that repo is still clean
|
# Check that repo is still clean
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue