Repository navigation
publish: npm ci before publish so prepublishOnly's tsc exists - #23
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The first
@flashyfinancial/wdk-staking-kitpublish (0.3.0, run 41017612304) failed at the Publish step:sh: 1: tsc: not found.prepublishOnlyrunsbuild:types,tscis a devDependency, and the publish job never rannpm 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 cistep aftersetup-node. Verified locally:npm ci && npm run build:typessucceeds on this branch.Test plan
npm ci && npm run build:typeslocallyGenerated by Claude Code