Skip to content

ci(modulus): run registry workflows with pnpm - #39

Merged
kayodebristol merged 3 commits into
mainfrom
codex/modulus-pnpm-workflows
Aug 17, 2026
Merged

kayodebristol merged 3 commits into
mainfrom
codex/modulus-pnpm-workflows

Conversation

@kayodebristol

Copy link
Copy Markdown
Contributor

Fixes the workflow installation failure exposed by the native catalog merge. Modulus is a pnpm workspace and npm cannot resolve its workspace:* dependency, so registry, plugin, host-effects, native-catalog, and post-merge workflows now use pnpm 11.5.1 with the frozen lockfile and local executables.\n\nValidation:\n- pnpm install --frozen-lockfile\n- pnpm run gate:host-effects\n- pnpm run gate:native-extension-catalog\n- pnpm run test:native-extension-catalog\n- pnpm run check\n- pnpm run lint\n- pnpm test\n- actionlint all workflow files

Copilot AI lite review requested due to automatic review settings August 17, 2026 01:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Modulus’ GitHub Actions workflows to use pnpm (pinned to 11.5.1) instead of npm/npx so installs and tool execution work correctly in a pnpm workspace (notably with workspace:* dependencies).

Changes:

  • Replaces npm ci / npm install with pnpm install --frozen-lockfile across registry and gate workflows.
  • Replaces npx <tool> invocations with pnpm exec <tool> for repo-local executables (e.g., tsx, tsc).
  • Updates post-merge CI feedback workflow to run lint/typecheck/test via pnpm.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.github/workflows/plugin-gate.yml Switch plugin gate and registry build check steps from npm/npx to pnpm install + pnpm exec
.github/workflows/native-extension-catalog.yml Switch validation/promotion steps to pnpm install + pnpm run/exec
.github/workflows/host-effects-contract.yml Switch host-effects contract gate to pnpm install + pnpm run
.github/workflows/ci-feedback-loop.yml Switch post-merge lint/typecheck/test runner to pnpm
.github/workflows/build-registry.yml Switch registry build workflow to pnpm install + pnpm exec

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/plugin-gate.yml Outdated
Comment on lines +79 to +83
@@ -76,7 +80,7 @@ jobs:
run: |
if [ -d plugins/${{ matrix.plugin }}/tests ]; then
echo "Running plugin tests..."
npx vitest run plugins/${{ matrix.plugin }}/tests/ --passWithNoTests || echo "⚠️ Tests failed (non-blocking)"
pnpm exec vitest run plugins/${{ matrix.plugin }}/tests/ --passWithNoTests || echo "⚠️ Tests failed (non-blocking)"
Co-authored-by: kayodebristol <3579196+kayodebristol@users.noreply.github.com>
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.

3 participants