From 3434e166a5b9aa1b4aa12b07cca39daa4d110a04 Mon Sep 17 00:00:00 2001 From: Aria Minaei Date: Mon, 7 Aug 2023 15:46:31 +0200 Subject: [PATCH] Try to fix the ESLint out of memory error --- .github/workflows/ci.yml | 4 +++- compat-tests/tsconfig.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ea7039..dac7b33 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,9 @@ jobs: node-version: ${{ matrix.node-version }} - uses: ./.github/actions/yarn-nm-install - - run: yarn lint:all --max-warnings 0 + - run: | + export NODE_OPTIONS="--max_old_space_size=4096" + yarn lint:all --max-warnings 0 Test: runs-on: ubuntu-latest diff --git a/compat-tests/tsconfig.json b/compat-tests/tsconfig.json index 4ada47a..1f2021a 100644 --- a/compat-tests/tsconfig.json +++ b/compat-tests/tsconfig.json @@ -13,7 +13,7 @@ "include": [ "./scripts/*.ts", "./*.compat-test.ts", - "./**/*.compat-test.ts", + "./fixtures/*/*.compat-test.ts", "./utils/**/*.ts" ] }