-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Verify nuget can be packed during PR (#2498)
* Verify nuget can be packed during PR * Fix bad path * Use npm version for nuget version * Use different env var format * Fix powershell script to set version * Change how we get package version to nuget task * More fixes
- Loading branch information
1 parent
5390e1a
commit 1663d9f
Showing
7 changed files
with
307 additions
and
370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
steps: | ||
# The Hosted 2019 pool machines look like they already have this, so it wouldn't be needed.. | ||
- task: CmdLine@2 | ||
displayName: Ensure yarn | ||
inputs: | ||
script: npm install -g yarn | ||
workingDirectory: vnext | ||
|
||
- task: CmdLine@2 | ||
displayName: yarn install | ||
inputs: | ||
script: $(APPDATA)\npm\node_modules\yarn\bin\yarn.cmd install --frozen-lockfile | ||
workingDirectory: vnext | ||
|
||
- template: stop-packagers.yml | ||
|
||
- task: CmdLine@2 | ||
displayName: yarn build | ||
inputs: | ||
script: $(APPDATA)\npm\node_modules\yarn\bin\yarn.cmd build | ||
workingDirectory: vnext |
Oops, something went wrong.