Updated action to reflect new structure

This commit is contained in:
Daniël van Noord committed 2021-03-09 23:33:20 +01:00
1 parent d429719a57
commit 1604b4697e
1 file changed
+2 -1
+2 -1
View File
@@ -16,7 +16,8 @@ jobs:
- name: Check if CookieMonster.js is built correctly
run: |
npm install
npx terser ./src/Header.js ./src/Cache.js ./src/Config.js ./src/Data.js ./src/Disp.js ./src/Main.js ./src/Sim.js ./src/Footer.js -o CookieMonsterTest.js
npx webpack
npx terser ./dist/Header.js ./dist/Cache.js ./dist/Config.js ./dist/Data.js ./dist/Disp.js ./dist/Main.js ./dist/Sim.js ./dist/Footer.js -o CookieMonsterTest.js
if cmp CookieMonster.js CookieMonsterTest.js; then
echo '### SUCCESS: CookieMonster is correctly built! ###'
else