From 4becd4bc0084ed9455f2d989be88e0381ebbd313 Mon Sep 17 00:00:00 2001 From: wewoor Date: Fri, 12 May 2023 11:42:39 +0800 Subject: [PATCH] build: allow noUnusedLocals --- .github/workflows/nodejs.yml | 6 ++---- tsconfig.json | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index ac37576..56501ce 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -62,10 +62,8 @@ jobs: path: node_modules key: node_modules-${{ hashFiles('**/package-temp-dir/yarn.lock') }} - - name: Run Unit Test - run: | - export NODE_OPTIONS="--max_old_space_size=4096" - yarn test + - name: Test FlinkSQL + run: npx jest test/parser/flinksql build: runs-on: ubuntu-latest diff --git a/tsconfig.json b/tsconfig.json index e94eb40..3730bb7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,7 @@ "module": "ESNext", "moduleResolution": "node", "declaration": true, - "noUnusedLocals": true, + "noUnusedLocals": false, "noUnusedParameters": false, "allowSyntheticDefaultImports": true, "esModuleInterop": true,