Skip to content

Fix local archive path in npm release job - #2

Merged
malhashemi merged 1 commit into
mainfrom
ci/publish-archive-path
Sep 15, 2026
Merged

malhashemi merged 1 commit into
mainfrom
ci/publish-archive-path

Conversation

@malhashemi

@malhashemi malhashemi commented Sep 15, 2026 •

Copy link
Copy Markdown
Owner

The release job passed a relative tarball path without ./, which npm interpreted as a GitHub repository shorthand and tried to fetch over SSH. Use an explicit local path and fail early if the downloaded archive is missing.

Validation: npm publish with the corrected path passes in dry-run mode, and actionlint passes. Version 0.9.5 remains unpublished, so merging this fix retries it through the normal release workflow.

Note

Add archive existence check before npm publish in CI release job

Adds a file-existence guard in the release publish workflow step so the job fails early when the expected release archive is missing, rather than proceeding to npm publish.

Macroscope summarized fe09e0b.

@malhashemi
malhashemi merged commit 8c89e25 into main Sep 15, 2026
3 checks passed
@malhashemi
malhashemi deleted the ci/publish-archive-path branch September 15, 2026 12:39
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.

1 participant