From c62fab9f1f61897557fb36867019776324e86982 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Tue, 23 Feb 2021 20:01:21 -0600 Subject: [PATCH 1/2] CI bug fix --- bot/awesomescibo.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/awesomescibo.mjs b/bot/awesomescibo.mjs index 4d48576..ad27640 100755 --- a/bot/awesomescibo.mjs +++ b/bot/awesomescibo.mjs @@ -223,4 +223,4 @@ client.on('message', async message => { } }); -client.login(process.argv[2]); +client.login(process.argv[2]).catch(error => console.log(error)); From de6b2deade8afa5d57286b9258c809e4a9eb2dce Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Tue, 23 Feb 2021 20:05:35 -0600 Subject: [PATCH 2/2] CI workflow env fix --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 17d0656..d37c773 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -31,4 +31,4 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm run build --if-present - - run: npm test + - run: CI=true npm test