File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# This is a basic workflow to help you get started with Actions
22
3- name : CI
3+ name : App CRM CI
44
55# Controls when the action will run. Triggers the workflow on push or pull request
66# events but only for the master branch
77on :
88 push :
9- branches : [ master, vNext]
9+ branches : [ master, vNext ]
1010 paths :
1111 - ' **'
1212 - ' !src/**'
1313 - ' !live-editing/**'
1414 - ' !projects/app-lob/**'
1515 pull_request :
16- branches : [ master, vNext]
16+ branches : [ master, vNext ]
1717 paths :
1818 - ' **'
1919 - ' !src/**'
@@ -27,11 +27,21 @@ jobs:
2727 # The type of runner that the job will run on
2828 runs-on : ubuntu-latest
2929
30+ strategy :
31+ matrix :
32+ node-version : [16.x, 18.x]
33+
3034 # Steps represent a sequence of tasks that will be executed as part of the job
3135 steps :
3236 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
3337 - uses : actions/checkout@v2
3438
39+ - name : Use Node.js ${{ matrix.node-version }}
40+ uses : actions/setup-node@v2
41+ with :
42+ node-version : ${{ matrix.node-version }}
43+ cache : ' npm'
44+
3545 - name : Install dependencies
3646 run : npm ci
3747
Original file line number Diff line number Diff line change 11# This is a basic workflow to help you get started with Actions
22
3- name : CI
3+ name : App LOB CI
44
55# Controls when the action will run. Triggers the workflow on push or pull request
66# events but only for the master branch
77on :
88 push :
9- branches : [ master, vNext]
9+ branches : [ master, vNext ]
1010 paths :
1111 - ' **'
1212 - ' !src/**'
1616 - ' live-editing/generators/AppDVConfigGenerators.ts'
1717 - ' !projects/app-crm/**'
1818 pull_request :
19- branches : [ master, vNext]
19+ branches : [ master, vNext ]
2020 paths :
2121 - ' **'
2222 - ' !src/**'
@@ -32,11 +32,21 @@ jobs:
3232 # The type of runner that the job will run on
3333 runs-on : ubuntu-latest
3434
35+ strategy :
36+ matrix :
37+ node-version : [16.x, 18.x]
38+
3539 # Steps represent a sequence of tasks that will be executed as part of the job
3640 steps :
3741 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
3842 - uses : actions/checkout@v2
3943
44+ - name : Use Node.js ${{ matrix.node-version }}
45+ uses : actions/setup-node@v2
46+ with :
47+ node-version : ${{ matrix.node-version }}
48+ cache : ' npm'
49+
4050 - name : Install dependencies
4151 run : npm ci
4252
You can’t perform that action at this time.
0 commit comments