File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # For most projects, this workflow file will not need changing; you simply need
2- # to commit it to your repository.
3- #
4- # You may wish to alter this file to override the set of languages analyzed,
5- # or to provide custom queries or build logic.
6- #
7- # ******** NOTE ********
8- # We have attempted to detect the languages in your repository. Please check
9- # the `language` matrix defined below to confirm you have the correct set of
10- # supported CodeQL languages.
11- #
121name : ' CodeQL'
132
143on :
154 push :
16- branches : ['main', main* ]
5+ branches : ['main', 'mainv2' ]
176 pull_request :
187 # The branches below must be a subset of the branches above
19- branches : ['main']
8+ branches : ['main', 'mainv2' ]
209 schedule :
2110 - cron : ' 0 2 * * 6'
11+ workflow_dispatch :
2212
2313jobs :
2414 analyze :
4030
4131 steps :
4232 - name : Checkout repository
43- uses : actions/checkout@v3
33+ uses : actions/checkout@v4
4434
4535 # Initializes the CodeQL tools for scanning.
4636 - name : Initialize CodeQL
Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ name: Build Live Share SDK samples
22
33on :
44 push :
5- branches : [ main ]
5+ branches : [ main, mainv2 ]
66 pull_request :
7- branches : [ main ]
7+ branches : [ main, mainv2 ]
8+ workflow_dispatch :
89
910jobs :
1011 build :
@@ -13,14 +14,15 @@ jobs:
1314
1415 strategy :
1516 matrix :
16- node-version : [18.x]
17+ node-version : [18.x, 20.x ]
1718
1819 steps :
19- - uses : actions/checkout@v3
20+ - uses : actions/checkout@v4
2021 - name : Use Node.js ${{ matrix.node-version }}
21- uses : actions/setup-node@v3
22+ uses : actions/setup-node@v4
2223 with :
2324 node-version : ${{ matrix.node-version }}
25+ cache : ' npm'
2426 - run : npm install
2527 - run : npm install jest
2628 working-directory : samples/javascript/02.react-video
Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ name: Test Live Share SDK packages
22
33on :
44 push :
5- branches : [ main ]
5+ branches : [ main, mainv2 ]
66 pull_request :
7- branches : [ main ]
7+ branches : [ main, mainv2 ]
8+ workflow_dispatch :
89
910jobs :
1011 build :
@@ -13,14 +14,15 @@ jobs:
1314
1415 strategy :
1516 matrix :
16- node-version : [18.x]
17+ node-version : [18.x, 20.x ]
1718
1819 steps :
19- - uses : actions/checkout@v3
20+ - uses : actions/checkout@v4
2021 - name : Use Node.js ${{ matrix.node-version }}
21- uses : actions/setup-node@v3
22+ uses : actions/setup-node@v4
2223 with :
2324 node-version : ${{ matrix.node-version }}
25+ cache : ' npm'
2426 - run : npm install
2527 - run : npm run build:packages
2628
You can’t perform that action at this time.
0 commit comments