Skip to content

Commit a2e6f54

Browse files
Share schema (#694)
* Step One Shared Config * Share benchmark schemas between generator and docs * Updated Shared Schema * Clean up * Moved to Catalog * Fixed imports * Remove more imports
1 parent 8c69ccf commit a2e6f54

47 files changed

Lines changed: 453 additions & 614 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/build-docs.yml‎

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Build Docs
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- 'packages/docs/**'
8+
- 'packages/results/**'
9+
- 'package.json'
10+
- 'pnpm-lock.yaml'
11+
- 'pnpm-workspace.yaml'
12+
- '.npmrc'
13+
- 'tsconfig.json'
14+
- '.github/workflows/build-docs.yml'
15+
pull_request:
16+
branches: [main]
17+
paths:
18+
- 'packages/docs/**'
19+
- 'packages/results/**'
20+
- 'package.json'
21+
- 'pnpm-lock.yaml'
22+
- 'pnpm-workspace.yaml'
23+
- '.npmrc'
24+
- 'tsconfig.json'
25+
- '.github/workflows/build-docs.yml'
26+
27+
jobs:
28+
build:
29+
runs-on: ubuntu-latest
30+
31+
steps:
32+
- name: Checkout code
33+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
34+
35+
- name: Setup pnpm
36+
uses: pnpm/action-setup@8912a9102ac27614460f54aedde9e1e7f9aec20d # v6.0.5
37+
38+
- name: Setup Node.js
39+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
40+
with:
41+
node-version: '24'
42+
cache: 'pnpm'
43+
44+
- name: Install workspace dependencies
45+
run: pnpm install --frozen-lockfile
46+
47+
- name: Build docs
48+
run: pnpm build:docs

‎packages/cwv-stats/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
"@types/node": "^26.1.2"
88
},
99
"dependencies": {
10-
"zod": "^4.4.3"
10+
"zod": "catalog:"
1111
}
1212
}

‎packages/docs/package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"@astrojs/starlight": "^0.41.7",
1717
"@tanstack/charts": "^1.1.0",
1818
"astro": "^7.4.0",
19-
"chart.js": "^4.5.1"
19+
"chart.js": "^4.5.1",
20+
"@framework-tracker/results": "workspace:*"
2021
},
2122
"devDependencies": {
2223
"@astrojs/check": "^0.9.10",

0 commit comments

Comments
 (0)