15 lines
494 B
YAML
15 lines
494 B
YAML
|
environment:
|
||
|
#nodejs_version: 6
|
||
|
npm_authtoken:
|
||
|
secure: ZFDpQDP37rVIg8if7QBpgVgCYhEtuaB6k/7Kd5VdZf5X9Eyi3wtdBZxnYLPpIVnH
|
||
|
build: off
|
||
|
|
||
|
install:
|
||
|
#- ps: Install-Product node $env:nodejs_version
|
||
|
- ps: npm install --loglevel=error
|
||
|
- ps: '"//registry.npmjs.org/:_authToken=$env:npm_authtoken`n" | out-file "$env:userprofile\.npmrc" -Encoding ASCII'
|
||
|
- ps: npm whoami
|
||
|
|
||
|
deploy_script:
|
||
|
- ps: npm --no-git-tag-version version %APPVEYOR_BUILD_VERSION%
|
||
|
- ps: npm publish --loglevel=error
|