fix: npm publish access
This commit is contained in:
parent
03ae58dce7
commit
407a95a65f
|
@ -27,7 +27,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
[ ${{ steps.vars.outputs.version }} = $(grep '"version":' package.json | grep -o "[0-9.]*") ] || (echo "Git tag doesn't match version in package.json" && false)
|
[ ${{ steps.vars.outputs.version }} = $(grep '"version":' package.json | grep -o "[0-9.]*") ] || (echo "Git tag doesn't match version in package.json" && false)
|
||||||
- name: Publish to npm
|
- name: Publish to npm
|
||||||
run: npm publish
|
run: npm publish --access public
|
||||||
- name: Create GitHub Release Draft
|
- name: Create GitHub Release Draft
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue