Skip to content

publish: npm ci before publish so prepublishOnly's tsc exists - #23

Merged
AgenteLabs merged 1 commit into
mainfrom
publish-npm-ci
Oct 30, 2026
Merged

AgenteLabs merged 1 commit into
mainfrom
publish-npm-ci

Conversation

@AgenteLabs

Copy link
Copy Markdown
Owner

Summary

The first @flashyfinancial/wdk-staking-kit publish (0.3.0, run 41017612304) failed at the Publish step: sh: 1: tsc: not found. prepublishOnly runs build:types, tsc is a devDependency, and the publish job never ran npm ci. The token check and the version check had both passed, so nothing reached the registry — a re-run on this commit publishes the same version.

Adds one npm ci step after setup-node. Verified locally: npm ci && npm run build:types succeeds on this branch.

Test plan

  • npm ci && npm run build:types locally
  • Publish workflow on main publishes 0.3.0 after merge

Generated by Claude Code

The first @FlashyFinancial publish (0.3.0) failed at the Publish step
with `sh: 1: tsc: not found`: prepublishOnly runs build:types, tsc is a
devDependency, and the publish job never ran npm ci. The token check and
the version check had both passed, so nothing was published and the
re-run on this commit publishes the same version.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VgrPGGUFKMq9zXBHnfcTgs
@AgenteLabs
AgenteLabs merged commit 8fa8f03 into main Oct 30, 2026
16 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