npm-publish: remove explicit scope

The setup-node action will default the scope to the correct user (the repo owner), so we do not need to explicitly include it in the workflow.  Removing it ensures that the starter template is easier for people to use; now there are no changes necessary to get started.  https://github.com/actions/setup-node/blob/master/src/authutil.ts#L26
This commit is contained in:
Edward Thomson
2020-03-20 12:17:18 +00:00
committed by GitHub
parent c934669ce2
commit 391c5961e9
-1
View File
@@ -41,7 +41,6 @@ jobs:
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
scope: '@your-github-username'
- run: npm ci
- run: npm publish
env: