Skip to content

Commit 1be7bfe

Browse files
committed
Run tests automatically against next (#10365)
1 parent dcc8ae8 commit 1be7bfe

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/node-test.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
name: CI Tests
22

33
on:
4-
- pull_request
5-
- push
6-
- merge_group
4+
pull_request:
5+
branches:
6+
- main
7+
- next
8+
push:
9+
merge_group:
710

811
env:
912
CI: true
@@ -180,7 +183,7 @@ jobs:
180183

181184
integration:
182185
needs: unit
183-
if: contains(fromJSON('["push", "merge_group"]'), github.event_name)
186+
if: contains(fromJSON('["push", "merge_group"]'), github.event_name) || (github.event_name == 'pull_request' && github.base_ref == 'next')
184187
runs-on: ubuntu-22.04
185188

186189
env:
@@ -247,7 +250,7 @@ jobs:
247250

248251
integration-windows:
249252
needs: unit
250-
if: contains(fromJSON('["push", "merge_group"]'), github.event_name)
253+
if: contains(fromJSON('["push", "merge_group"]'), github.event_name) || (github.event_name == 'pull_request' && github.base_ref == 'next')
251254
runs-on: windows-latest
252255

253256
env:

0 commit comments

Comments
 (0)