We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92598e4 commit da13b44Copy full SHA for da13b44
1 file changed
.github/workflows/test.yml
@@ -5,12 +5,20 @@ on:
5
branches: [ "**" ]
6
7
jobs:
8
- test:
9
- runs-on: ubuntu-latest
+ build:
+ strategy:
10
+ matrix:
11
+ os: [macos-latest, ubuntu-latest, windows-latest]
12
+ runs-on: ${{ matrix.os }}
13
steps:
- - uses: actions/checkout@v4
- - uses: actions/setup-node@v4
- with:
14
- node-version: lts/*
15
- - run: yarn
16
- - run: yarn run test
+ - name: Checkout
+ uses: actions/checkout@v4
+ - name: Install Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: lts/*
20
+ - run: npm install
21
+ - run: xvfb-run -a npm test
22
+ if: runner.os == 'Linux'
23
+ - run: npm test
24
+ if: runner.os != 'Linux'
0 commit comments