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 error when publishing new version #564

Merged
merged 1 commit into from
Nov 17, 2024
Merged

Fix error when publishing new version #564

merged 1 commit into from
Nov 17, 2024

Conversation

11k
Copy link
Contributor

@11k 11k commented Nov 17, 2024

A recent PR modified the prepare script to use shx for Windows interoperability. The prepare script is special in that npm always runs it before npm publish. This resulted in an error during the execution of our "bump and release" workflow because the workflow doesn't install any Node dependencies.

Simply installing Node dependencies in the workflow fixes the issue. This has the added benefit of catching any last-second formatting or linter errors that slipped through the cracks.

A recent PR modified the `prepare` script to use `shx` for Windows
interoperability. The `prepare` script is special in that npm always
runs it before `npm publish`. This resulted in an error during the
execution of our "bump and release" workflow because the workflow
doesn't install any Node dependencies.

Simply installing Node dependencies in the workflow fixes the issue.
This has the added benefit of catching any last-second formatting or
linter errors that slipped through the cracks.
@11k 11k added the bug Something isn't working label Nov 17, 2024
@11k 11k merged commit cc67673 into master Nov 17, 2024
2 checks passed
@11k 11k deleted the fix/workflow-deps branch November 17, 2024 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant