Skip to content

Commit 44eac7d

Browse files
committed
build(npm): revert changes for NPM
1 parent b7929b1 commit 44eac7d

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/npm.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,11 @@ jobs:
2323
run: bun run build
2424

2525
- name: Publish package
26+
env:
27+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2628
run: |
27-
npm publish --access public
29+
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > .npmrc
30+
npm publish --provenance --access public
31+
- name: Cleanup
32+
run: |
33+
rm -f .npmrc

0 commit comments

Comments
 (0)