Skip to content

Commit 119358c

Browse files
committed
ci: run integration tests always on main, on all os
1 parent ce0b972 commit 119358c

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/integration-test-cli.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,29 @@ jobs:
88
cli-integration-test:
99
name: CLI Integration Tests
1010
# Note: `prepare-release.yaml` sets this commit message
11-
if: ${{ contains(github.event.pull_request.title, 'release CLI') || github.event_name == 'workflow_dispatch' }}
12-
runs-on: ubuntu-latest
11+
if: ${{ contains(github.event.pull_request.title, 'release CLI') || github.event_name == 'workflow_dispatch' || github.ref_name == 'main' }}
12+
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
os: [ubuntu-latest]
18+
node-version: [18, 20, 22]
19+
include:
20+
- os: macos-latest
21+
node_version: 20
22+
- os: windows-latest
23+
node_version: 20.13.1
24+
1325
steps:
1426
- name: Checkout
1527
uses: actions/checkout@v4
1628
with:
1729
fetch-depth: 0
1830

1931
- uses: ./.github/actions/setup-and-build
32+
with:
33+
node-version: ${{ matrix.node-version }}
2034

2135
- name: Update template's versions
2236
working-directory: ./packages/cli

0 commit comments

Comments
 (0)