Skip to content

Commit 9e89b98

Browse files
committed
ci(workflows): [publish] cleanup registry scope
- https://github.com/actions/setup-node/blob/v3.5.1/src/authutil.ts#L28-L30 Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
1 parent 30019d2 commit 9e89b98

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ env:
2929
ARTIFACT: |
3030
${{ github.event.inputs.artifact || github.event.release.assets[0].browser_download_url }}
3131
NODE_VERSION: 16
32-
SCOPE: ${{ format('@{0}', github.repository_owner) }}
3332
jobs:
3433
metadata:
3534
runs-on: ubuntu-latest
@@ -73,7 +72,7 @@ jobs:
7372
always-auth: true
7473
node-version: ${{ env.NODE_VERSION }}
7574
registry-url: https://npm.pkg.github.com
76-
scope: ${{ env.SCOPE }}
75+
scope: ${{ github.repository_owner }}
7776
- id: publish
7877
name: Publish package
7978
run: npm publish $ARTIFACT ${{ needs.metadata.outputs.dist-tag }}
@@ -95,7 +94,7 @@ jobs:
9594
always-auth: true
9695
node-version: ${{ env.NODE_VERSION }}
9796
registry-url: https://registry.npmjs.org
98-
scope: ${{ env.SCOPE }}
97+
scope: ${{ github.repository_owner }}
9998
- id: publish
10099
name: Publish package
101100
run: npm publish $ARTIFACT ${{ needs.metadata.outputs.dist-tag }}

0 commit comments

Comments
 (0)