forked from microsoft/azure-pipelines-task-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update pipeline to include a step for publishing artifacts. (microsof…
…t#848) * Update pipeline * Update azure-pipelines.yml * nodeversion as variable Co-authored-by: Andrey Ivanov <v-andivanov@microsoft.com>
- Loading branch information
1 parent
ad2d00f
commit d4cc533
Showing
3 changed files
with
49 additions
and
67 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
parameters: | ||
- name: nodeVersion | ||
type: string | ||
|
||
steps: | ||
# npm install | ||
- task: Npm@1 | ||
displayName: (azure-pipelines-task-lib) npm install | ||
inputs: | ||
command: install | ||
workingDir: node | ||
|
||
- task: NodeTool@0 | ||
displayName: (azure-pipelines-task-lib) use node ${{parameters.nodeVersion}} | ||
inputs: | ||
versionSpec: ${{parameters.nodeVersion}} |
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,10 @@ | ||
steps: | ||
# test | ||
- script: node make.js test | ||
workingDirectory: node | ||
displayName: (azure-pipelines-task-lib) node make.js test | ||
|
||
# build | ||
- script: node make.js build | ||
displayName: (azure-pipelines-task-lib) node make.js build | ||
workingDirectory: node |
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