Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24
registry-url: https://registry.npmjs.org
cache: pnpm

- run: pnpm install --frozen-lockfile
- run: pnpm test
- run: npm publish --provenance --access public
Comment on lines 28 to 29

Choose a reason for hiding this comment

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

P1 Badge Build artifacts before npm publish

In the tag publish job, pnpm test was the only step that ran pnpm build, and the repo doesn’t check in dist. With the test step removed, the workflow now goes straight from pnpm install to npm publish, so the package is published without compiled dist artifacts even though package.json’s main/bin and files depend on dist. This will produce a broken package on npm for tag pushes; add an explicit build step (or restore a step that runs pnpm build) before publishing.

Useful? React with 👍 / 👎.