Skip to content

Fix release workflow build failure by pinning pnpm to lockfile-compatible version - #21

Merged
Lanly109 merged 2 commits into
mainfrom
copilot/fix-github-actions-build-job
Sep 30, 2026
Merged

Lanly109 merged 2 commits into
mainfrom
copilot/fix-github-actions-build-job

Conversation

Copilot AI commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

The release workflow’s build job failed because dependency installation ran with pnpm 8, which ignored the repo’s pnpm-lock.yaml (lockfileVersion 9) and pulled an invalid transitive package tarball. This updates workflow tooling alignment so installs respect the lockfile during release builds.

  • Root cause addressed

    • wyvox/action-setup-pnpm@v3 resolved to pnpm 8 by default in release.yaml.
    • pnpm 8 treated the lockfile as incompatible, bypassed locked resolution, and failed during transitive fetch.
  • Workflow change

    • Pinned pnpm major version in the release job’s dependency setup step to match lockfile format expectations.
  • Net effect

    • Release build dependency resolution is lockfile-driven again, avoiding drift from unlocked transitive resolution.
- name: Install dependencies
  uses: wyvox/action-setup-pnpm@v3
  with:
    pnpm-version: 9

Co-authored-by: Lanly109 <32431960+Lanly109@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job build Fix release workflow build failure by pinning pnpm to lockfile-compatible version Sep 30, 2026
Copilot AI requested a review from Lanly109 September 30, 2026 14:20
@Lanly109
Lanly109 marked this pull request as ready for review September 30, 2026 14:20
@Lanly109
Lanly109 merged commit 66b69f8 into main Sep 30, 2026
@Lanly109
Lanly109 deleted the copilot/fix-github-actions-build-job branch September 30, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants