Skip to content

Fix pnpm setup in GitHub workflows - #17

Merged
HiveForensicsAI merged 1 commit into
mainfrom
codex/fix-github-actions-pnpm-executable-error
Aug 2, 2026
Merged

Fix pnpm setup in GitHub workflows#17
HiveForensicsAI merged 1 commit into
mainfrom
codex/fix-github-actions-pnpm-executable-error

Conversation

@HiveForensicsAI

Copy link
Copy Markdown
Contributor

Motivation

  • Prevent actions/setup-node from invoking pnpm before Corepack enables it in the TypeScript CI job, which caused pnpm to be missing at runtime.
  • Apply the same explicit setting to repository verification and release workflows to avoid equivalent bootstrap failures there.

Description

  • Add package-manager-cache: false to actions/setup-node in .github/workflows/ci.yml for the typescript and repository jobs.
  • Add package-manager-cache: false to actions/setup-node in .github/workflows/release.yml for the verify job while preserving the registry-url setting.
  • Retain the existing corepack enable && pnpm install --frozen-lockfile bootstrap and workflow logic.

Testing

  • Ran git diff --check which showed no issues.
  • Ran pnpm --filter @knolo/agents test and the TypeScript unit tests passed (4 tests passed).
  • Ran ./scripts/hygiene.sh and fixed generated-directory issues so hygiene completed successfully.
  • Note: pnpm install --frozen-lockfile attempted to fetch TypeScript but the npm registry returned HTTP 403 in this environment, however available dependencies were sufficient for the unit tests to run; actionlint was not present in the environment.

Codex Task

@HiveForensicsAI
HiveForensicsAI merged commit 1c306d1 into main Aug 2, 2026
10 checks passed
@HiveForensicsAI
HiveForensicsAI deleted the codex/fix-github-actions-pnpm-executable-error branch August 2, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant