Skip to content

Commit 525172d

Browse files
committed
ci: use secrets npm token vs creating npmrc
1 parent e801adb commit 525172d

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.changeset/soft-buckets-relate.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@lglab/react-qr-code': patch
3+
---
4+
5+
use secrets npm token vs creating npmrc

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ jobs:
2828
with:
2929
version: 10
3030

31-
- name: Setup npmrc
32-
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
33-
3431
- name: Install Dependencies
3532
run: pnpm install
3633

@@ -41,3 +38,4 @@ jobs:
4138
publish: pnpm ci:publish --no-git-checks
4239
env:
4340
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)