Skip to content

fix(ci): skip @primer/primitives postinstall script#2868

Merged
afonsojramos merged 1 commit into
mainfrom
fix-ci-workflow
May 9, 2026
Merged

fix(ci): skip @primer/primitives postinstall script#2868
afonsojramos merged 1 commit into
mainfrom
fix-ci-workflow

Conversation

@afonsojramos
Copy link
Copy Markdown
Member

Summary

CI on main started failing after the lock file maintenance pulled in @primer/primitives@11.8.0, which has a postinstall that runs cd docs/storybook && npm ci — a path that doesn't exist in the published tarball. Under pnpm 11 this surfaces as ERR_PNPM_IGNORED_BUILDS and fails pnpm install --frozen-lockfile.

Marking it false in pnpm-workspace.yaml > allowBuilds explicitly skips the script (it would be a no-op or error anyway, since only dist/ and tokens ship in the package).

@github-actions github-actions Bot added the bug Something isn't working label May 9, 2026
@afonsojramos afonsojramos merged commit 7f24d17 into main May 9, 2026
12 checks passed
@afonsojramos afonsojramos deleted the fix-ci-workflow branch May 9, 2026 15:26
@github-actions github-actions Bot added this to the Release 7.0.0 milestone May 9, 2026
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 9, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Development

Successfully merging this pull request may close these issues.

1 participant