Repository navigation
Published Chromatic builds the way usage-page does, with setup-chromatic from con/skills - #17
Merged
Merged
Conversation
The two Chromatic workflows now only build (Storybook, and the Playwright archive Storybook) with no token and hand the result on as an artifact; a new chromatic-publish.yml uploads it from main on workflow_run, auto-accepting builds from a push to main, so merges no longer leave builds waiting for review and pull requests from forks get snapshots. The setup-chromatic skill's step 7 now writes these three files, and setup-web-app names the publish job's template guard. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DQrzw3QuYxA1bV48ZgQcor
GitHub reports this repository as brain-bbqs/bbqs-web-app-template (web-app-template only redirects), which is what the other workflow guards already match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DQrzw3QuYxA1bV48ZgQcor
The template's own setup-chromatic skill is removed; apm.yml installs it from con/skills (pinned in apm.lock.yaml to the commit of con/skills#50, which carries the three-workflow form), and `apm install --frozen` restores it into .claude/skills/, where it is git-ignored. AGENTS.md says how to restore it and where fixes go, setup-web-app keeps the APM files and renames apm.yml, and the three Chromatic workflows now match the skill's templates (Node 22, persist-credentials: false, auto-accept keyed to the default branch), plus the template's own publish guard. .prettierignore keeps Prettier off the APM-written lock. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DQrzw3QuYxA1bV48ZgQcor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pushand on pull requests from forks; newchromatic-publish.ymluploads from the default branch onworkflow_run, accepting a push to the default branch as the new baseline, so merges no longer leave builds waiting for review.The three files are the templates of the updated
setup-chromatic(Node 22,persist-credentials: false, auto-accept keyed to the repository's default branch), plus this template's own guard on the publish job.setup-chromaticis no longer kept here:apm.ymlinstalls it from con/skills, pinned inapm.lock.yaml, andapm install --frozenrestores it into.claude/skills/setup-chromatic/, which is git-ignored.AGENTS.mdsays how to restore it and that fixes go to con/skills;setup-web-appkeeps the APM files and renamesapm.yml;.prettierignorekeeps Prettier off the APM-written lock.Merge after con/skills#50, which carries the three-workflow form into the skill: the pin is that PR's commit (
c241a4e), and should move to its merge commit onmasteronce it lands.No version bump or changelog entry: nothing under
src/,configs/,index.htmlorpackage.jsonchanged.Checked locally: Storybook build, the 10 Playwright snapshots and
build-archive-storybook(earlier on this branch),apm install --frozenhere and fresh in a scratch directory (identical to con/skills#50's skill),apm audit --ci,actionlint,npm run format:checkandpre-commit run --all-files.Original prompt
could the problem be that main is running its own chromatic uploads or something? I get notifications about that but its not typical as seen from other apps like the usage-page
would that make it consistent with usage-page?
yeah make it all consistent then with usage page
open the matching PR on web-app-template too
adjjust #17 to use the con/skills setup chromatic and improve the skill there in the way you ust did
(setup web app is still specific to the web app template)
🤖 Generated with Claude Code
https://claude.ai/code/session_01DQrzw3QuYxA1bV48ZgQcor