Skip to content

Commit 645f47f

Browse files
committed
add scope for publishinh
1 parent 9d7e39f commit 645f47f

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
with:
2525
node-version: "20"
2626
registry-url: "https://registry.npmjs.org"
27+
scope: "@willwade"
2728

2829
- name: Install dependencies
2930
run: npm ci
@@ -49,4 +50,4 @@ jobs:
4950
npm version "${{ steps.release_version.outputs.version }}" --no-git-tag-version
5051
5152
- name: Publish to npm
52-
run: npm publish --access public --provenance
53+
run: npm publish --access public --provenance --registry https://registry.npmjs.org/

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@willwade:registry=https://registry.npmjs.org/
2+

0 commit comments

Comments
 (0)