Skip to content

Commit ba132ee

Browse files
committed
ci(package.json): increase Node.js memory usage to workaround JS heap OOM
angular/angular-cli#21338 (comment) Signed-off-by: Bofu Chen (bafu) <[email protected]>
1 parent 65a13f5 commit ba132ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"build.ios": "npm run build && cap sync ios",
1414
"test": "npm run preconfig && ng test",
1515
"test.ci": "npm run preconfig && ng test --no-watch --no-progress --source-map=false --browsers=ChromeHeadlessCI",
16-
"lint": "npm run preconfig && prettier --check . && stylelint \"**/*.{css,scss,sass}\" && ng lint",
16+
"lint": "npm run preconfig && prettier --check . && stylelint \"**/*.{css,scss,sass}\" && node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng lint",
1717
"e2e": "npm run preconfig && ng e2e",
1818
"prepare": "husky install"
1919
},

0 commit comments

Comments
 (0)