Skip to content

Commit 323ea57

Browse files
authored
Soften CI coverage (#4286)
* Update integration-workflow.yml * Update integration-workflow.yml
1 parent 0294528 commit 323ea57

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/integration-workflow.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ on:
55
- 'cherry-pick/**'
66
pull_request:
77

8+
concurrency:
9+
# group by workflow and ref; the last slightly strange component ensures that for pull
10+
# requests, we limit to 1 concurrent job, but for the master branch we don't
11+
group: ${{github.workflow}}-${{github.ref}}-${{github.ref != 'refs/heads/master' || github.run_number}}
12+
# Cancel intermediate builds, but only if it is a pull request build.
13+
cancel-in-progress: ${{startsWith(github.ref, 'refs/pull/')}}
14+
815
name: 'Integration'
916
jobs:
1017
chore:
@@ -184,12 +191,15 @@ jobs:
184191
matrix:
185192
node:
186193
- 14
187-
- 16
188-
- 17
189194
platform:
190195
- ubuntu-latest
191196
- windows-latest
192197
- macos-latest
198+
include:
199+
- node: 16
200+
platform: ubuntu-latest
201+
- node: 17
202+
platform: ubuntu-latest
193203

194204
name: '${{matrix.platform}} w/ Node.js ${{matrix.node}}.x'
195205
runs-on: ${{matrix.platform}}

0 commit comments

Comments
 (0)