-
Notifications
You must be signed in to change notification settings - Fork 9
feat(storybook): add storybook-webmcp addon for AI agents #1116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
3987e27
e1e822f
8efc869
7ae3673
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,8 @@ | ||
| legacy-peer-deps=true | ||
|
|
||
| # storybook-webmcp lives on GitHub Packages. Even for public packages, | ||
| # the GHPR npm registry requires a token with read:packages scope. | ||
| # Local dev: export NODE_AUTH_TOKEN=$(gh auth token) | ||
| # CI: pass NODE_AUTH_TOKEN via secrets (e.g. ${{ secrets.GITHUB_TOKEN }}). | ||
| @jbwatenbergscality:registry=https://npm.pkg.github.com | ||
| //npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN} | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All three CI workflows ( Each workflow needs something like: - run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
post-release.ymlalso runsnpm ci(line 68,publish-npmjob) withoutNODE_AUTH_TOKEN. That job usessetup-nodewithregistry-url: "https://registry.npmjs.org", which may overwrite this.npmrc(404 from npmjs.org) or leave it in place without a valid GHPR token (401). Either way, the publish workflow breaks after merge.Combined with
github-pages.yml(already flagged), that's two workflows still missing the fix.