Skip to content

Commit 76b8ea6

Browse files
committed
Update publish-npm.yml
1 parent d2a40a3 commit 76b8ea6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/publish-npm.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ on:
2121
required: false
2222
type: string
2323
default: 'https://registry.npmjs.org'
24+
scope:
25+
description: 'npm scope that should use the trusted publisher auth.'
26+
required: false
27+
type: string
28+
default: '@stencil'
2429

2530
permissions:
2631
contents: read
@@ -41,6 +46,7 @@ jobs:
4146
with:
4247
node-version: ${{ inputs.node-version }}
4348
registry-url: ${{ inputs.registry-url }}
49+
scope: ${{ inputs.scope }}
4450

4551
- name: 🔄 Ensure Latest npm
4652
run: npm install -g npm@latest

0 commit comments

Comments
 (0)