From df0126d7b96321ca96a40a705661be9b20b94293 Mon Sep 17 00:00:00 2001 From: Victor Zheng Date: Tue, 5 Apr 2022 23:11:53 -0700 Subject: [PATCH 1/3] testing cache --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9fb09578..5a1f19f3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} + cache: 'yarn' - name: Install dependencies run: yarn install --frozen-lockfile From a064b89cf37739c0282bb8ca29905a44c5644e60 Mon Sep 17 00:00:00 2001 From: Victor Zheng Date: Tue, 5 Apr 2022 23:16:41 -0700 Subject: [PATCH 2/3] testing cache --- src/commands/coin/coinAdjust.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/coin/coinAdjust.ts b/src/commands/coin/coinAdjust.ts index 9bccff6b..d4167337 100644 --- a/src/commands/coin/coinAdjust.ts +++ b/src/commands/coin/coinAdjust.ts @@ -2,7 +2,7 @@ import { Message, User } from 'discord.js'; import { CommandoClient, CommandoMessage } from 'discord.js-commando'; import { AdminCommand } from '../../utils/commands'; import { adjustCoinBalanceByUserId, getCoinBalanceByUserId, UserCoinEvent } from '../../components/coin'; - +// change for cache class CoinAdjustCommand extends AdminCommand { constructor(client: CommandoClient) { super(client, { From 784bb8931785c526a3ac3c0a8e72041f90621dcd Mon Sep 17 00:00:00 2001 From: Victor Zheng Date: Tue, 5 Apr 2022 23:18:02 -0700 Subject: [PATCH 3/3] removed cache test --- src/commands/coin/coinAdjust.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/coin/coinAdjust.ts b/src/commands/coin/coinAdjust.ts index d4167337..9bccff6b 100644 --- a/src/commands/coin/coinAdjust.ts +++ b/src/commands/coin/coinAdjust.ts @@ -2,7 +2,7 @@ import { Message, User } from 'discord.js'; import { CommandoClient, CommandoMessage } from 'discord.js-commando'; import { AdminCommand } from '../../utils/commands'; import { adjustCoinBalanceByUserId, getCoinBalanceByUserId, UserCoinEvent } from '../../components/coin'; -// change for cache + class CoinAdjustCommand extends AdminCommand { constructor(client: CommandoClient) { super(client, {