Merge pull request #2201 from actions/npm-trusted-publishing
Enable npm trusted publishing
This commit is contained in:
@@ -74,11 +74,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: ${{ github.event.inputs.package }}
|
name: ${{ github.event.inputs.package }}
|
||||||
|
|
||||||
- name: setup authentication
|
|
||||||
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
|
|
||||||
env:
|
|
||||||
NPM_TOKEN: ${{ secrets.TOKEN }}
|
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
run: npm publish --provenance *.tgz
|
run: npm publish --provenance *.tgz
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user