Skip to content

Commit c7ee1d4

Browse files
committed
chore: remove token for trusted publishing
1 parent f2ccdb5 commit c7ee1d4

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,6 @@ jobs:
5353
run: pnpm install --frozen-lockfile
5454

5555
- name: publish to npm
56-
run: |
57-
{
58-
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}"
59-
echo "registry=https://registry.npmjs.org/"
60-
echo "always-auth=true"
61-
} >> ~/.npmrc
62-
63-
npm whoami
64-
65-
pnpm publish --access=public --no-git-checks
66-
rm ~/.npmrc
56+
run: pnpm publish --access=public --no-git-checks
6757
env:
68-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6958
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)