diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f17ac81..4710ec8 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -23,3 +23,9 @@ jobs: echo '### WARNING: CookieMonster.js does not seem to be correct. Make sure to run "npm run build" after saving all your changes! ###' exit 1 fi + if cmp <(head -n 2 CookieMonster.js) <(head -n 2 test/CookieMonster.js); then + echo '### SUCCESS: CookieMonster is correctly built! ###' + else + echo '### WARNING: Make sure to move the file from the /dist folder to the main folder. Otherwise Github Pages won't notice it ###' + exit 1 + fi diff --git a/CookieMonster.js b/CookieMonster.js index 9a7e77d..de60e30 100644 Binary files a/CookieMonster.js and b/CookieMonster.js differ