fix: skip the build stage, there is nothing here to build - #28
Merged
Conversation
A release run reaches Build and dies:
npm error Missing script: "build"
[ERROR] TypeScript build failed
The same language detection that aimed publish at npmjs also runs the
TypeScript build handler, which shells out to `npm run build`. This repo is
Ansible and shell; package.json carries the semantic-release scripts and
nothing else, so there is no build script and no artefact to produce --
v2.24.4 shipped zero assets.
Build ran on a release dispatch but is skipped on a pull request, so this was
invisible until the first publish attempt.
Contributor
|
Released in v2.24.5 — https://github.com/hyperi-io/hyperi-developer/releases/tag/v2.24.5 |
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.
A release run reaches Build and dies:
The same language detection that aimed publish at npmjs also runs the TypeScript build handler, which shells out to
npm run build. This repo is Ansible and shell - package.json carries the semantic-release scripts and nothing else, so there is no build script and no artefact to produce. v2.24.4 shipped zero assets.Build runs on a release dispatch but is skipped on a pull request, so this was invisible until the first publish attempt - the same gating that hides Quality and Test from a direct push.
Done when: a release dispatch gets past Build and moves the tag.
Verified: no tag was created by the failing run (https://github.com/hyperi-io/hyperi-developer/actions/runs/30786460028) - v2.24.4 is still latest, so there is nothing to unwind.