Skip to content

ci: make the npm release last since it is not reversible#442

Merged
joanise merged 1 commit into
mainfrom
dev.ej/fix-release-workflow
Jul 22, 2025
Merged

ci: make the npm release last since it is not reversible#442
joanise merged 1 commit into
mainfrom
dev.ej/fix-release-workflow

Conversation

@joanise

@joanise joanise commented Jul 22, 2025

Copy link
Copy Markdown
Member

PR Goal?

Since GitHub releases can be delete but npmjs published packages cannot, the npm publish steps should be the very last ones we run.

This way, when something fails, we can just delete the release on GitHub and push the tag again.

Feedback sought?

Sanity checking

Priority?

High - before we publish 1.6.0

How to test?

Can't test this without creating a fake repo and all, but I'm just interchanging two blocks in the workflow, so I think it's safe.

Confidence?

high

Version change?

no

@semanticdiff-com

semanticdiff-com Bot commented Jul 22, 2025

Copy link
Copy Markdown

Review changes with  SemanticDiff

Changed Files
File Status
  .github/workflows/release.yml  90% smaller

@joanise joanise requested review from roedoejet and sergeleger July 22, 2025 15:19
@github-actions

github-actions Bot commented Jul 22, 2025

Copy link
Copy Markdown
Contributor
PR Preview Action v1.6.2
Preview removed because the pull request was closed.
2025-07-22 19:17 UTC

@sergeleger sergeleger left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@roedoejet roedoejet left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea

@joanise joanise merged commit 200a72b into main Jul 22, 2025
6 checks passed
@joanise joanise deleted the dev.ej/fix-release-workflow branch July 22, 2025 19:17
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.

3 participants