autorest.testserver/.azure-pipelines/publish.yml

14 строки
265 B
YAML
Исходник Обычный вид История

trigger: none
pr: none
pool:
vmImage: "ubuntu-latest"
steps:
- template: ./steps/build-test.yml
- script: |
echo "//registry.npmjs.org/:_authToken=$(azure-sdk-npm-token)" > ./.npmrc
npm publish --access public
displayName: "Publish to npm"