Skip to content

Commit 61ab67a

Browse files
committed
ci: gate eslint, context-region audit, and audiobook dialogue lint
1 parent 1c25cde commit 61ab67a

3 files changed

Lines changed: 17 additions & 1 deletion

File tree

‎.github/workflows/deploy.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ jobs:
5151
- name: Audit responsive diagrams
5252
run: npm run audit:responsive-diagrams
5353

54+
- name: Audit context regions
55+
run: npm run audit:context-regions
56+
57+
- name: Lint audiobook dialogue
58+
run: npm run audio:dialogue:lint
59+
5460
- name: Refresh GitHub star counts
5561
# Unauthenticated (60 req/hr/IP). The fetcher merges per repo and keeps
5662
# the committed snapshot on failure, so a rate-limited deploy still

‎.github/workflows/pr.yml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,12 @@ jobs:
4343

4444
- name: Audit responsive diagrams
4545
run: npm run audit:responsive-diagrams
46+
47+
- name: Audit context regions
48+
run: npm run audit:context-regions
49+
50+
- name: Lint audiobook dialogue
51+
run: npm run audio:dialogue:lint
52+
53+
- name: Run linter
54+
run: npm run lint

‎website/package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@
1010
"audio:build": "node ../scripts/audiobook/cli.mjs --build",
1111
"audio:verify": "node ../scripts/audiobook/cli.mjs --verify",
1212
"audio:list": "node ../scripts/audiobook/cli.mjs --list",
13-
"audio:dialogue:lint": "node ../scripts/audiobook/cli.mjs --lint",
13+
"audio:dialogue:lint": "node ../scripts/audiobook/cli.mjs --lint --all",
1414
"audio:dialogue:source": "node ../scripts/audiobook/cli.mjs --source",
1515
"test": "find src -name '*.test.ts' -print0 | xargs -0 node --test",
1616
"audit:breakpoints": "node ../scripts/audit-breakpoints.cjs",
1717
"audit:responsive-diagrams": "node ../scripts/audit-responsive-diagrams.cjs",
18+
"audit:context-regions": "node ../scripts/audit-context-region-consumers.cjs",
1819
"test:browser-contracts": "node ../scripts/test-browser-contracts.cjs",
1920
"swizzle": "docusaurus swizzle",
2021
"deploy": "docusaurus deploy",

0 commit comments

Comments
 (0)