Skip to content

Commit dd36f5b

Browse files
Derive component prop meta-data from TypeScript (#6641)
Co-authored-by: primer[bot] <119360173+primer[bot]@users.noreply.github.com>
1 parent 260c74c commit dd36f5b

28 files changed

+2081
-68
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ jobs:
144144
${{ runner.os }}-turbo-
145145
- name: Install dependencies
146146
run: npm ci
147+
- name: Build doc-gen
148+
run: npm run build --workspace @primer/doc-gen
147149
- name: Build storybook to generate story IDs
148150
run: npm run build:storybook
149151
working-directory: packages/react

.github/workflows/migration-status.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,18 @@ jobs:
3434
- name: Run migration script
3535
run: |
3636
node --experimental-strip-types script/styled-components-migration-status.mts >> $GITHUB_STEP_SUMMARY
37+
38+
ts-docgen:
39+
runs-on: ubuntu-latest
40+
steps:
41+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
42+
- name: Set up Node.js
43+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444
44+
with:
45+
node-version-file: '.nvmrc'
46+
cache: 'npm'
47+
- name: Install dependencies
48+
run: npm ci
49+
- name: Run migration script
50+
run: |
51+
node --experimental-strip-types script/ts-docs-status.mts >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)