Skip to content

feat(ci): add node-pnpm-ci reusable workflow#167

Open
kna-makerx wants to merge 2 commits into
mainfrom
feat/node-pnpm-ci
Open

feat(ci): add node-pnpm-ci reusable workflow#167
kna-makerx wants to merge 2 commits into
mainfrom
feat/node-pnpm-ci

Conversation

@kna-makerx

Copy link
Copy Markdown
Contributor

Summary

  • Add a reusable node-pnpm-ci GitHub Actions workflow
  • Fix node-pnpm-build-zip to resolve pnpm version from packageManager when the version input is empty

Test plan

  • Confirm the reusable workflow runs cleanly in a consuming repo
  • Confirm node-pnpm-build-zip resolves the correct pnpm version when packageManager is set and no explicit version input is given

claude added 2 commits July 6, 2026 12:33
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ersion input is empty

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

🛡️ SHA Pinned Actions Report

✅ All 29 file(s) passed — actions are allowed and pinned as required.

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

Adds a reusable pnpm-based CI workflow and updates the existing pnpm build-zip workflow to support resolving pnpm from packageManager when the caller provides an empty pnpm version input.

Changes:

  • Added reusable workflow .github/workflows/node-pnpm-ci.yml to run pnpm install/lint/typecheck/test (optionally build, commitlint, SBOM).
  • Updated .github/workflows/node-pnpm-build-zip.yml to conditionally set up pnpm either from an explicit version input or via packageManager in package.json.

Reviewed changes

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

File Description
.github/workflows/node-pnpm-ci.yml New reusable pnpm CI workflow with optional commit linting, test reporting, build, and SBOM generation.
.github/workflows/node-pnpm-build-zip.yml Adds conditional pnpm setup to allow packageManager-based pnpm resolution when pnpm-version is explicitly empty.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 9 to +12
required: false
type: string
default: "9"
description: Version of pnpm to use. Passing an explicit empty string defers resolution to the packageManager field of <working-directory>/package.json.
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