diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-10-19 14:56:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-19 14:56:23 -0400 |
| commit | e2ca3cb74fca014d52695f32af36a861c960189a (patch) | |
| tree | cee7622b6e7efb504a150b40014ce2129c3c1870 | |
| parent | 49ac4c4044b1777dc3a25544aead7b0b15b953e8 (diff) | |
| parent | eca56dbe6aedc7ef7a10c7bc6ff379be1f6a144c (diff) | |
Merge pull request #4331 from crobibero/npm-ci
Add npmAuthenticate task
| -rw-r--r-- | .ci/azure-pipelines-api-client.yml | 6 | ||||
| -rw-r--r-- | .npmrc | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/.ci/azure-pipelines-api-client.yml b/.ci/azure-pipelines-api-client.yml index fc89b90d4..de6bbf04c 100644 --- a/.ci/azure-pipelines-api-client.yml +++ b/.ci/azure-pipelines-api-client.yml @@ -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 @@ -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
\ No newline at end of file |
