Skip to content

Commit 5231744

Browse files
committed
build: adjust test workflow
1 parent afa8e70 commit 5231744

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
# limitations under the License.
1414

1515
name: Test
16-
on: [pull_request]
16+
on: [pull_request, push]
17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.ref }}
19+
cancel-in-progress: true
1720
jobs:
1821
test:
19-
strategy:
20-
matrix:
21-
os: [macos-latest, ubuntu-latest, windows-latest]
22-
runs-on: ${{ matrix.os }}
22+
runs-on: ubuntu-latest
2323
steps:
2424
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2525
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
@@ -31,7 +31,4 @@ jobs:
3131
- run: pnpm lint
3232
- run: pnpm check
3333
- run: xvfb-run -a pnpm test
34-
if: runner.os == 'Linux'
35-
- run: pnpm test
36-
if: runner.os != 'Linux'
3734
- run: pnpm ci:package

0 commit comments

Comments
 (0)