feat(ci): Parallelize linting and move to larger runner

This change parallelizes the linting tasks in package.json and moves the lint job to a larger runner for a significant performance improvement. It also fixes an infinite loop that was introduced during the refactoring.
This commit is contained in:
mkorwel
2025-10-22 12:48:55 -07:00
parent b255e904fd
commit f0541c35ac
3 changed files with 16 additions and 4 deletions
+10 -2
View File
@@ -41,10 +41,18 @@
"test:integration:sandbox:none": "cross-env GEMINI_SANDBOX=false vitest run --root ./integration-tests",
"test:integration:sandbox:docker": "cross-env GEMINI_SANDBOX=docker npm run build:sandbox && cross-env GEMINI_SANDBOX=docker vitest run --root ./integration-tests",
"test:integration:sandbox:podman": "cross-env GEMINI_SANDBOX=podman vitest run --root ./integration-tests",
"lint": "eslint . --ext .ts,.tsx && eslint integration-tests && eslint scripts",
"lint": "node scripts/lint.js --eslint",
"lint:eslint": "node scripts/lint.js --eslint",
"lint:actionlint": "node scripts/lint.js --actionlint",
"lint:shellcheck": "node scripts/lint.js --shellcheck",
"lint:yamllint": "node scripts/lint.js --yamllint",
"lint:prettier": "node scripts/lint.js --prettier",
"lint:sensitive-keywords": "node scripts/lint.js --sensitive-keywords",
"lint:tsconfig": "node scripts/lint.js --tsconfig",
"lint:setup": "node scripts/lint.js --setup",
"lint:fix": "eslint . --fix --ext .ts,.tsx && eslint integration-tests --fix && eslint scripts --fix && npm run format",
"lint:ci": "npm run lint:all",
"lint:all": "node scripts/lint.js",
"lint:all": "npm run lint:setup && npm-run-all --parallel lint:eslint lint:actionlint lint:shellcheck lint:yamllint lint:prettier lint:sensitive-keywords lint:tsconfig",
"format": "prettier --experimental-cli --write .",
"typecheck": "npm run typecheck --workspaces --if-present",
"preflight": "npm run clean && npm ci && npm run format && npm run lint:ci && npm run build && npm run typecheck && npm run test:ci",