Repository navigation
Conversation
[Medium impact] The PR changes npm publishing and the showcase deployment workflow. Fix the shared release group before merging because newer pushes can cancel waiting releases.
|
| concurrency: | ||
| group: npm-${{ github.event_name == 'push' && 'publish' || github.ref }} | ||
| cancel-in-progress: false |
There was a problem hiding this comment.
All pushes share npm-publish, but GitHub Actions keeps only one running run and one pending run per group. cancel-in-progress: false protects the running run, not the pending one. If one release is running, another version's tag is pending, and a newer main push arrives, the tag run is canceled and that version never publishes. Use a queue that preserves waiting releases while keeping publication serialized.
|
|
||
| on: | ||
| push: | ||
| branches: [main] |
There was a problem hiding this comment.
Release instructions are outdated
The Releasing section in README.md still says only tags publish and branch pushes never release to npm. This workflow now publishes an unpublished version as soon as it reaches main, so maintainers following those instructions could publish before they expect to. Update the release instructions alongside this change.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Merging version 4.1.1 to main deployed the showcase but did not publish npm because the release workflow only accepted tag pushes. Publish unpublished package versions on main pushes, retain tag releases with version validation, keep PRs build-only, and serialize publishing to prevent main/tag races. Registry errors fail the release rather than being treated as missing versions.
Upgrade Pages upload/deploy actions to v5 (Node 24) and pin Ubuntu 24.04 runners to remove the deprecation and runner migration annotations.
Validation:
vp install,vp run build,vp run site:build, andgit diff --checkpass locally. The merge will publish the currently unpublished 4.1.1 version.