Skip to content

Commit

Permalink
Update 2.x build pipeline (#502)
Browse files Browse the repository at this point in the history
* update build pipeline

* remove v3.x from this branch
  • Loading branch information
hossam-nasr authored Mar 27, 2023
1 parent 3f16b79 commit 3e76bc1
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
variables:
{ MODULE_VERSION: "2.1.2", NODE_10: "10.x", NODE_12: "12.x", NODE_14: "14.x", NODE_16: "16.x" }
{
MODULE_VERSION: "2.1.2",
NODE_10: "10.x",
NODE_12: "12.x",
NODE_14: "14.x",
NODE_16: "16.x",
NODE_18: "18.x",
}
name: $(MODULE_VERSION)-$(Date:yyyyMMdd)$(Rev:.r)

pr:
branches:
include:
- main
- dev
- v2.x

trigger:
- main
- dev
- v2.x

jobs:
- job: Test
Expand All @@ -28,6 +33,9 @@ jobs:
UBUNTU_NODE16:
IMAGE_TYPE: "ubuntu-latest"
NODE_VERSION: $(NODE_16)
UBUNTU_NODE18:
IMAGE_TYPE: "ubuntu-latest"
NODE_VERSION: $(NODE_18)
WINDOWS_NODE10:
IMAGE_TYPE: "windows-latest"
NODE_VERSION: $(NODE_10)
Expand All @@ -40,6 +48,9 @@ jobs:
WINDOWS_NODE16:
IMAGE_TYPE: "windows-latest"
NODE_VERSION: $(NODE_16)
WINDOWS_NODE18:
IMAGE_TYPE: "windows-latest"
NODE_VERSION: $(NODE_18)
MAC_NODE10:
IMAGE_TYPE: "macOS-latest"
NODE_VERSION: $(NODE_10)
Expand All @@ -52,6 +63,9 @@ jobs:
MAC_NODE16:
IMAGE_TYPE: "macOS-latest"
NODE_VERSION: $(NODE_16)
MAC_NODE18:
IMAGE_TYPE: "macOS-latest"
NODE_VERSION: $(NODE_18)
pool:
vmImage: $(IMAGE_TYPE)
steps:
Expand Down

0 comments on commit 3e76bc1

Please sign in to comment.