Skip to content

Commit 0ab6110

Browse files
authored
chore(ci): removing NPM_TOKEN references for trusted publishing (#121)
2 parents 83d5944 + 869f0c9 commit 0ab6110

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,6 @@ jobs:
169169
steps:
170170
- uses: actions/checkout@v6
171171

172-
- name: Authenticate with NPM
173-
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
174-
env:
175-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
176-
177172
- name: Get package version
178173
id: package_version
179174
run: echo "VERSION=$(jq -r .version packages/library/package.json)" >> $GITHUB_ENV
@@ -195,6 +190,4 @@ jobs:
195190

196191
- name: Publish to NPM
197192
if: env.VERSION_EXISTS == 'false'
198-
run: npm publish --workspace=@tomplum/react-git-log --access public
199-
env:
200-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
193+
run: npm publish --workspace=@tomplum/react-git-log --access public

0 commit comments

Comments
 (0)