Skip to content

Commit c54e91b

Browse files
JohnMcLearclaude
andauthored
fix: demote ERR_PNPM_IGNORED_BUILDS to warning in publish step (#170)
Set npm_config_strict_dep_builds=false as a job-level env var so pnpm doesn't fail the release job when a transitive dep (e.g. unrs-resolver@1.11.1 via eslint-config-etherpad) has a postinstall script that isn't in any allowlist. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent cb94a2b commit c54e91b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/npmpublish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717
permissions:
1818
contents: write # for the atomic version-bump push (branch + tag)
1919
id-token: write # for npm OIDC trusted publishing
20+
env:
21+
# pnpm 10.7+ treats ignored postinstalls as hard errors. Demote
22+
# to warning so new transitive deps (e.g. unrs-resolver) don\'t break
23+
# the release step.
24+
npm_config_strict_dep_builds: "false"
2025
steps:
2126
- uses: actions/setup-node@v6
2227
with:

0 commit comments

Comments
 (0)