From 4bc0c2b0e77715d5194fc407bc40ada22898cc90 Mon Sep 17 00:00:00 2001 From: Robert Brignull Date: Mon, 24 Aug 2020 15:18:01 +0100 Subject: [PATCH] clean the lib dir before building --- .github/workflows/pr-checks.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index fb30c74a7..ce90c1e0e 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -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