This commit is contained in:
Christian Klemm 2019-10-16 21:50:06 +02:00
parent 49f5b8d150
commit 04f86ef130
No known key found for this signature in database
GPG Key ID: 57578469FC907C48
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ jobs:
VERSION=8.4.0-preview.$PREVIEW_VERSION
echo $VERSION
npm version --no-git-tag-version --allow-same-version $VERSION
npm set //npm.pkg.github.com/:_authToken $GITHUB_TOKEN
npm set //npm.pkg.github.com/:_authToken ${{ secrets.GITHUB_TOKEN }}
npm set registry https://npm.pkg.github.com/knsv
json -I -f package.json -e 'this.name="@knsv/mermaid"' # Package name needs to be set to a scoped one because GitHub registry requires this
json -I -f package.json -e 'this.repository="git://github.com/knsv/mermaid"' # Repo url needs to have a specific format too