Browse Source

ci: add npm install as first step to publish scripts

pull/2824/head
mehmet-erim 7 years ago
parent
commit
3106729f01
  1. 2
      npm/preview-publish.ps1
  2. 2
      npm/publish.ps1

2
npm/preview-publish.ps1

@ -2,6 +2,8 @@ param(
[string]$Version
)
npm install
$NextVersion = $(node get-version.js) + '-preview' + (Get-Date).tostring(“yyyyMMdd”)
$rootFolder = (Get-Item -Path "./" -Verbose).FullName

2
npm/publish.ps1

@ -2,6 +2,8 @@ param(
[string]$Version
)
npm install
$NextVersion = $(node get-version.js)
$rootFolder = (Get-Item -Path "./" -Verbose).FullName

Loading…
Cancel
Save