Skip to content

Commit

Permalink
ci(workflows): [publish] cleanup registry scope
Browse files Browse the repository at this point in the history
- https://github.com/actions/setup-node/blob/v3.5.1/src/authutil.ts#L28-L30

Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
  • Loading branch information
unicornware committed Jan 1, 2023
1 parent 92d9465 commit ef72f42
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ env:
ARTIFACT:
${{ github.event.inputs.artifact || github.event.release.assets[0].browser_download_url }}
NODE_VERSION: 16
SCOPE: ${{ format('@{0}', github.repository_owner) }}
jobs:
metadata:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -73,7 +72,7 @@ jobs:
always-auth: true
node-version: ${{ env.NODE_VERSION }}
registry-url: https://npm.pkg.github.com
scope: ${{ env.SCOPE }}
scope: ${{ github.repository_owner }}
- id: publish
name: Publish package
run: npm publish $ARTIFACT ${{ needs.metadata.outputs.dist-tag }}
Expand All @@ -95,7 +94,7 @@ jobs:
always-auth: true
node-version: ${{ env.NODE_VERSION }}
registry-url: https://registry.npmjs.org
scope: ${{ env.SCOPE }}
scope: ${{ github.repository_owner }}
- id: publish
name: Publish package
run: npm publish $ARTIFACT ${{ needs.metadata.outputs.dist-tag }}
Expand Down

0 comments on commit ef72f42

Please sign in to comment.