Skip to content

Commit a1b45f9

Browse files
author
A.P.A. Slaa
committed
fix: harden registry publish workflow
1 parent ada504c commit a1b45f9

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
if: needs.create-release.outputs.release_created == 'true'
107107
env:
108108
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
109-
run: npm publish --access public
109+
run: npm publish --access public --ignore-scripts
110110

111111
publish-jsr:
112112
name: Publish JSR
@@ -129,9 +129,6 @@ jobs:
129129
uses: actions/setup-node@v4
130130
with:
131131
node-version: 24
132-
- name: Install dependencies
133-
if: needs.create-release.outputs.release_created == 'true'
134-
run: npm install
135132
- name: Publish to JSR
136133
if: needs.create-release.outputs.release_created == 'true'
137134
run: npx jsr publish

0 commit comments

Comments
 (0)