fix publish workflow: add build step, use OIDC trusted publishing, bump 0.0.196

publish was missing a build step so the npm tarball had no dist/.
switch from NPM_TOKEN to OIDC trusted publishing — explicitly unset
NODE_AUTH_TOKEN so setup-node's .npmrc doesn't override the OIDC flow.
bump version since v0.0.195 tag exists from the failed publish attempt.

Made-with: Cursor
This commit is contained in:
Colin McDonnell
2026-04-12 19:02:32 +00:00
committed by pullfrog[bot]
parent 8a6696dd1d
commit bbcf91a06e
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -34,6 +34,9 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Get package version
id: version
run: |
@@ -98,9 +101,7 @@ jobs:
- name: Publish to npm
if: steps.check_tag.outputs.exists == 'false'
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: NODE_AUTH_TOKEN="" npm publish --provenance --access public
- name: Summary
if: always()
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "pullfrog",
"version": "0.0.195",
"version": "0.0.196",
"type": "module",
"bin": {
"pullfrog": "dist/cli.mjs",