Install eslint-local-rules as postinstall (#7993)

For local dev and CI we want to have the eslint-local-rules running, so let's make sure both have their dependencies installed. We don't use a monorepo setup here, which is why they're currently setup as a two completely independent yarn workspaces.
This commit is contained in:
lauren
2025-09-19 11:19:36 -04:00
committed by GitHub
parent 730d045c71
commit c15e20f811
2 changed files with 1 additions and 4 deletions

View File

@@ -32,9 +32,6 @@ jobs:
- name: Install deps
run: yarn install --frozen-lockfile
- name: Install deps (eslint-local-rules)
run: yarn install --frozen-lockfile
working-directory: eslint-local-rules
- name: Lint codebase
run: yarn ci-check

View File

@@ -18,7 +18,7 @@
"ci-check": "npm-run-all prettier:diff --parallel lint tsc lint-heading-ids rss deadlinks",
"tsc": "tsc --noEmit",
"start": "next start",
"postinstall": "is-ci || husky install .husky",
"postinstall": "yarn --cwd eslint-local-rules install && is-ci || husky install .husky",
"check-all": "npm-run-all prettier lint:fix tsc rss",
"rss": "node scripts/generateRss.js",
"deadlinks": "node scripts/deadLinkChecker.js",