Skip to content

Commit 608d1dd

Browse files
authored
chore: setup trusted publisher for npm
1 parent aceb026 commit 608d1dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ jobs:
4949
git config user.name "${GITHUB_ACTOR}"
5050
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
5151
52+
- name: Update npm
53+
run: npm install -g npm@latest
54+
5255
- name: Create release
5356
run: |
54-
npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
5557
yarn release-it --ci
5658
env:
5759
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
58-
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
59-
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)