File tree Expand file tree Collapse file tree 1 file changed +30
-24
lines changed Expand file tree Collapse file tree 1 file changed +30
-24
lines changed Original file line number Diff line number Diff line change @@ -3,34 +3,40 @@ name: Test electron-chrome-extensions
33on :
44 push :
55 paths :
6- - ' packages/**'
6+ - ' packages/**'
77 pull_request :
88 paths :
9- - ' packages/**'
9+ - ' packages/**'
1010
1111jobs :
1212 test :
13- runs-on : ubuntu-latest
13+ strategy :
14+ matrix :
15+ os : [ubuntu-latest, windows-latest]
16+
17+ runs-on : ${{ matrix.os }}
1418
1519 steps :
16- - name : Checkout Repo
17- uses : actions/checkout@v4
18-
19- - name : Setup Node
20- uses : actions/setup-node@v4
21- with :
22- node-version : ' 20.x'
23-
24- - name : Install dependencies
25- run : |
26- yarn install
27-
28- - name : Build
29- run : |
30- yarn build
31-
32- - name : Run tests
33- uses : GabrielBB/xvfb-action@v1
34- with :
35- run : |
36- yarn test
20+ - name : Checkout Repo
21+ uses : actions/checkout@v4
22+
23+ - name : Setup Node
24+ uses : actions/setup-node@v4
25+ with :
26+ node-version : ' 20.x'
27+
28+ - name : Install dependencies
29+ run : yarn install
30+
31+ - name : Build
32+ run : yarn build
33+
34+ - name : Run tests (Linux)
35+ if : runner.os == 'Linux'
36+ uses : GabrielBB/xvfb-action@v1
37+ with :
38+ run : yarn test
39+
40+ - name : Run tests (Windows)
41+ if : runner.os == 'Windows'
42+ run : yarn test
You can’t perform that action at this time.
0 commit comments