Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: pass releases to publish check #444

Merged
merged 1 commit into from
May 7, 2024
Merged

Conversation

lukekarrys
Copy link
Contributor

@lukekarrys lukekarrys commented May 7, 2024

If publish: true is not set, then the release intergration workflow falls back to running npm view $SPEC which will error if the package has not been published. This tags the CODEOWNERS in the release issue so we know something went wrong.

This doesn't have much use now that we are moving everything to publish: true but it would have caught a missing publish last week that I missed on @npmcli/fs: https://github.com/npm/fs/actions/runs/8946801618/job/24577963034#step:7:4

The RELEASES env var was only being set for the publish step, not the check if published step.

@lukekarrys lukekarrys requested a review from a team as a code owner May 7, 2024 19:40
@lukekarrys lukekarrys merged commit 9440c4f into main May 7, 2024
20 checks passed
@lukekarrys lukekarrys deleted the lk/abundant-brave-insect branch May 7, 2024 20:03
@github-actions github-actions bot mentioned this pull request May 7, 2024
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.

None yet

2 participants