fix: npm publish not working

This commit is contained in:
Geoffroy Empain 2020-12-02 22:36:59 +01:00
parent 9d486447f3
commit 533ca741b4
2 changed files with 2 additions and 1 deletions

View File

@ -38,6 +38,8 @@ jobs:
if: ${{ env.IS_RELEASE_BRANCH == 'true' }}
run: |
source ./scripts/setup-git.sh "$RELEASE_DEPLOY_KEY"
# allow publishing scoped package as public to avoid 402
npm config set access public
npx semantic-release -r $GITHUB_REPOSITORY_SSH_URL
env:
RELEASE_DEPLOY_KEY: ${{ secrets.RELEASE_DEPLOY_KEY }}

View File

@ -3,7 +3,6 @@
"version": "1.0.0-next.1",
"description": "Meli CLI",
"main": "build/index.js",
"private": false,
"bin": {
"meli": "./build/index.js"
},