-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
76d9677
commit 45f7d20
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