Skip to content

Commit

Permalink
Add Support for Versioning NodeJS (#106)
Browse files Browse the repository at this point in the history
Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
  • Loading branch information
Brett Logan authored and lehors committed Jan 17, 2020
1 parent b3b5267 commit 8ca279d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
12 changes: 9 additions & 3 deletions ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ trigger:
- master
- release-1.4

variables:
NODE_VER: '12.x'

jobs:
- job: fabcar_go
displayName: FabCar (Go)
Expand All @@ -17,6 +20,7 @@ jobs:
- template: install-deps.yml
- template: install-fabric.yml
- template: fabcar-go.yml

- job: fabcar_java
displayName: FabCar (Java)
pool:
Expand All @@ -27,6 +31,7 @@ jobs:
- template: install-deps.yml
- template: install-fabric.yml
- template: fabcar-java.yml

- job: fabcar_javascript
displayName: FabCar (JavaScript)
pool:
Expand All @@ -37,6 +42,7 @@ jobs:
- template: install-deps.yml
- template: install-fabric.yml
- template: fabcar-javascript.yml

- job: fabcar_typescript
displayName: FabCar (TypeScript)
pool:
Expand All @@ -47,6 +53,7 @@ jobs:
- template: install-deps.yml
- template: install-fabric.yml
- template: fabcar-typescript.yml

- job: commercialpaper_javascript
displayName: CommercialPaper (JavaScript)
pool:
Expand All @@ -56,7 +63,8 @@ jobs:
steps:
- template: install-deps.yml
- template: install-fabric.yml
- template: commercialpaper-javascript.yml
- template: commercialpaper-javascript.yml

- job: commercialpaper_java
displayName: CommercialPaper (Java)
pool:
Expand All @@ -67,5 +75,3 @@ jobs:
- template: install-deps.yml
- template: install-fabric.yml
- template: commercialpaper-java.yml


6 changes: 5 additions & 1 deletion ci/install-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@

steps:
- script: sudo sh -c "curl https://raw.githubusercontent.com/kadwanev/retry/master/retry -o /usr/local/bin/retry && chmod +x /usr/local/bin/retry"
displayName: Install retry CLI
displayName: Install retry CLI
- task: NodeTool@0
inputs:
versionSpec: $(NODE_VER)
displayName: 'Install Node.js'

0 comments on commit 8ca279d

Please sign in to comment.