Skip to content

Commit 1f2bbd0

Browse files
run tests on different OSes
1 parent b38fa71 commit 1f2bbd0

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/checks.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,29 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
script: ["prettier:check", "lint:check", "ts:check", "test"]
16+
script: ["prettier:check", "lint:check", "ts:check"]
1717
steps:
1818
- name: Check out code
1919
uses: actions/checkout@v4
2020

2121
- name: Install Dependencies
2222
uses: ./.github/actions/install-dependencies
2323

24-
- name: ${{ matrix.script }}
24+
- name: run "${{ matrix.script }}" script
2525
run: pnpm run ${{ matrix.script }}
26+
tests:
27+
name: tests (${{ matrix.os }})
28+
runs-on: ${{ matrix.os }}
29+
strategy:
30+
fail-fast: false
31+
matrix:
32+
os: [macos-13, windows-2022, ubuntu-22.04]
33+
steps:
34+
- name: Check out code
35+
uses: actions/checkout@v4
36+
37+
- name: Install Dependencies
38+
uses: ./.github/actions/install-dependencies
39+
40+
- name: run "test" script
41+
run: pnpm run test

0 commit comments

Comments
 (0)