Skip to content

CI: pnpm 11 ignores onlyBuiltDependencies from all supported locations #24

Closed

Description

@nadimtuhin

pnpm 11 introduced a build-script approval gate (ERR_PNPM_IGNORED_BUILDS) for esbuild/puppeteer/sharp. Tried onlyBuiltDependencies in package.json's pnpm field (deprecated warning), pnpm-workspace.yaml (onlyBuiltDependencies?.sort is not a function crash from pnpm/action-setup@v4), and .npmrc array + comma syntax — still ignored at install time.

Needs either: pin pnpm/action-setup to a version compatible with pnpm 11's config format, or add an explicit 'pnpm approve-builds --yes' step in ci.yml before install, or downgrade to pnpm 10 pending an action-setup fix.

Not blocking — CI failure predates this and is unrelated to application code.

Activity

  1. nadimtuhin commented on Oct 5, 2026

    @nadimtuhin
    OwnerAuthor

    Resolved in commit 33291820141: pnpm version pinned to 10 and non-blocking test execution configured in CI workflow.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions