Try to fix the ESLint out of memory error
This commit is contained in:
parent
bdba288ff1
commit
3434e166a5
2 changed files with 4 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -38,7 +38,9 @@ jobs:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- uses: ./.github/actions/yarn-nm-install
|
- 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:
|
Test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"include": [
|
"include": [
|
||||||
"./scripts/*.ts",
|
"./scripts/*.ts",
|
||||||
"./*.compat-test.ts",
|
"./*.compat-test.ts",
|
||||||
"./**/*.compat-test.ts",
|
"./fixtures/*/*.compat-test.ts",
|
||||||
"./utils/**/*.ts"
|
"./utils/**/*.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue