Fix failing "FastStore" CI job: skip Chromatic step when token secret is missing#3361
Open
dependabot[bot] wants to merge 2 commits into
Open
Fix failing "FastStore" CI job: skip Chromatic step when token secret is missing#3361dependabot[bot] wants to merge 2 commits into
dependabot[bot] wants to merge 2 commits into
Conversation
Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 4 to 6. - [Release notes](https://github.com/pnpm/action-setup/releases) - [Commits](pnpm/action-setup@v4...v6) --- updated-dependencies: - dependency-name: pnpm/action-setup dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
@faststore/api
@faststore/cli
@faststore/components
@faststore/core
@faststore/diagnostics
@faststore/lighthouse
@faststore/sdk
@faststore/ui
commit: |
Copilot
AI
changed the title
chore(deps): bump pnpm/action-setup from 4 to 6
Fix failing "FastStore" CI job: skip Chromatic step when token secret is missing
Jun 1, 2026
|
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.

0 New Issues
0 Fixed Issues
0 Accepted Issues
No data about coverage (15.50% Estimated after merge)
The "FastStore" CI job was failing because the
CHROMATIC_PROJECT_TOKENsecret is not available in Dependabot PR contexts. When the token is missing, the Chromatic action exits with a non-zero code ("Missing project token"), causing the entire CI job to fail.Root Cause
The "Publish to Chromatic" step in
.github/workflows/ci.ymlruns unconditionally, but theCHROMATIC_PROJECT_TOKENsecret is not accessible in Dependabot or fork PRs, causing Chromatic CLI to exit with an error.Fix
Added an
if: ${{ secrets.CHROMATIC_PROJECT_TOKEN != '' }}condition to the "Publish to Chromatic" step so it is gracefully skipped when the secret is not available, while still running normally on PRs that have access to the secret.