Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 3, 2026

The repository uses pnpm's workspace:* protocol for monorepo dependencies, but the CI workflow was configured for npm, causing EUNSUPPORTEDPROTOCOL errors during dependency installation.

Changes

  • Created pnpm-workspace.yaml: Defines workspace packages (packages/*, apps/*)
  • Updated .github/workflows/ci.yml:
    • Enable Corepack before Node.js setup
    • Switch cache from npm to pnpm
    • Replace npm cipnpm install --frozen-lockfile
    • Replace npm runpnpm run, npm testpnpm test
  • Generated pnpm-lock.yaml, removed package-lock.json

This aligns the CI tooling with the package manager already in use by the codebase (evidenced by workspace:* dependencies in packages/praxis/package.json and other workspace packages).


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

- Add pnpm-workspace.yaml to define workspace packages
- Update CI workflow to use pnpm instead of npm
- Enable Corepack for pnpm support
- Generate pnpm-lock.yaml and remove package-lock.json
- Update all npm commands to pnpm in CI workflow

Co-authored-by: kayodebristol <3579196+kayodebristol@users.noreply.github.com>
Copilot AI changed the title [WIP] Update actions/upload-artifact to version 6 fix: migrate CI from npm to pnpm for workspace:* protocol support Feb 3, 2026
Copilot AI requested a review from kayodebristol February 3, 2026 17:57
@kayodebristol
Copy link
Contributor

This PR is currently Draft.\n\nMinimal next steps:\n- Mark as Ready for review when safe\n- Ensure CI is green\n- Request review / address feedback\n\nOnce checks are green + required reviews are satisfied, we can squash merge.

@kayodebristol
Copy link
Contributor

This PR is currently Draft.

Minimal next steps:

  • Mark as Ready for review when safe
  • Ensure CI is green
  • Request review / address feedback

Once checks are green + required reviews are satisfied, we can squash merge.

@kayodebristol
Copy link
Contributor

Closing as superseded by #155 (single consolidated fix for the Node 18/20 CI + workspace:* issue). If we need to resurrect any approach from this PR, we can reopen.

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