clean the lib dir before building

This commit is contained in:
Robert Brignull
2020-08-24 15:18:01 +01:00
parent bd54c20d3e
commit 4bc0c2b0e7

View File

@@ -24,6 +24,8 @@ jobs:
>&2 echo "Failed: Repo should be clean before testing!"
exit 1
fi
# Wipe the lib directory incase there are extra unnecessary files in there
rm -rf lib
# Generate the JavaScript files
npm run-script build
# Check that repo is still clean