Try to fix the ESLint out of memory error

This commit is contained in:
Aria Minaei 2023-08-07 15:46:31 +02:00
parent bdba288ff1
commit 3434e166a5
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -13,7 +13,7 @@
"include": [
"./scripts/*.ts",
"./*.compat-test.ts",
"./**/*.compat-test.ts",
"./fixtures/*/*.compat-test.ts",
"./utils/**/*.ts"
]
}