Skip to content

Fix CI: resolve pnpm version conflict between workflow and package.json - #16

Merged
mesayanroy merged 3 commits into
mainfrom
copilot/fix-ci-cd-deployment-issues
Mar 31, 2026
Merged

Fix CI: resolve pnpm version conflict between workflow and package.json#16
mesayanroy merged 3 commits into
mainfrom
copilot/fix-ci-cd-deployment-issues

Conversation

Copilot AI commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

pnpm/action-setup@v4 was aborting because it detected two conflicting version sources: version: 10 in the workflow and "packageManager": "pnpm@10.32.1" in package.json. This caused the entire pipeline to fail at the very first step.

Changes

  • .github/workflows/ci.yml — removed the with: version: 10 block from pnpm/action-setup@v4 in both lint-and-type-check and build jobs, letting the action resolve the version solely from package.json
# Before — two conflicting sources, action aborts
- uses: pnpm/action-setup@v4
  with:
    version: 10  # conflicts with "packageManager": "pnpm@10.32.1" in package.json

# After — single source of truth
- uses: pnpm/action-setup@v4

@vercel

vercel Bot commented Mar 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
0x402-pubsub Ready Ready Preview, Comment Mar 31, 2026 6:32pm

Copilot AI changed the title [WIP] Fix CI/CD errors during deployment Fix CI: move pnpm/action-setup before setup-node Mar 31, 2026
Copilot AI requested a review from mesayanroy March 31, 2026 18:24
…ith packageManager in package.json

Agent-Logs-Url: https://github.com/mesayanroy/0x402-pubsub/sessions/83064b55-1aac-4144-8183-a96ab164136b

Co-authored-by: mesayanroy <169074736+mesayanroy@users.noreply.github.com>
Copilot AI changed the title Fix CI: move pnpm/action-setup before setup-node Fix CI: resolve pnpm version conflict between workflow and package.json Mar 31, 2026
@mesayanroy
mesayanroy marked this pull request as ready for review March 31, 2026 18:47
@mesayanroy
mesayanroy merged commit 3a48947 into main Mar 31, 2026
8 checks passed
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