- .gitignore has dist/ — so build output is never committed
- The create-tag job in npm-publish.yml just does git tag -a "$TAG" on the merge commit — without building first. So the tag has no dist/
- The npm publish step builds and publishes correctly (npm package works), but the git tag is useless for GitHub Actions
The fix: the create-tag job needs to build, commit dist/ to the tag, or use a separate approach. The cleanest fix for a composite action is to build dist/ and include it in the tag.
The fix: the create-tag job needs to build, commit dist/ to the tag, or use a separate approach. The cleanest fix for a composite action is to build dist/ and include it in the tag.