Merge pull request #4331 from crobibero/npm-ci

Add npmAuthenticate task
This commit is contained in:
Joshua M. Boniface authored and GitHub committed 2020-10-19 14:56:23 -04:00
commit e2ca3cb74f
2 files changed
+9

No files matched your search

+6
View File
@@ -28,6 +28,12 @@ jobs:
inputs:
script: "wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/${{ parameters.GeneratorVersion }}/openapi-generator-cli-${{ parameters.GeneratorVersion }}.jar -O openapi-generator-cli.jar"
## Authenticate with npm registry
- task: npmAuthenticate@0
inputs:
workingFile: ./.npmrc
customEndpoint: 'jellyfin-bot for NPM'
## Generate npm api client
# Unstable
- task: CmdLine@2
+3
View File
@@ -0,0 +1,3 @@
registry=https://registry.npmjs.org/
@{jellyfin}:registry=https://pkgs.dev.azure.com/jellyfin-project/jellyfin/_packaging/unstable/npm/registry/
always-auth=true