Skip to content

Commit cbd830a

Browse files
committed
ci: use npm trusted publishing for releases
Remove NPM_TOKEN usage and publish via OIDC with provenance. Made-with: Cursor
1 parent 329407a commit cbd830a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/release-npm.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ jobs:
3434
fi
3535
3636
- name: Install dependencies
37-
run: npm ci
37+
run: npm install --ignore-scripts
3838

3939
- name: Publish
40-
env:
41-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4240
run: npm publish --access public --provenance

0 commit comments

Comments
 (0)