Skip to content

Commit 27d4ad0

Browse files
committed
Add npm package name customization
1 parent c8f410a commit 27d4ad0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
registry-url: ${{ env.REGISTRY }}
6464
- run: npm install -g npm
6565
- run: npm ci
66+
- run: npm pkg set name=@${{ github.repository_owner }}/$(npm pkg get name)
6667
- run: npm pkg set publishConfig.registry=${{ env.REGISTRY }}
6768
- name: Download a Build Artifact
6869
uses: actions/download-artifact@main

0 commit comments

Comments
 (0)