Skip to content

Commit 40de55e

Browse files
committed
Test on windows and MacOS
1 parent c81ed35 commit 40de55e

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
runs-on: ubuntu-latest
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
os: [ubuntu-latest, macos-latest, windows-latest]
812

913
steps:
1014
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -18,7 +22,10 @@ jobs:
1822
- name: 📦 Install dependencies
1923
run: yarn --frozen-lockfile
2024

21-
- run: /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
25+
- name: Start Xvfb (Linux only)
26+
if: runner.os == 'Linux'
27+
run: /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
28+
2229
- run: yarn run test
2330
env:
2431
DISPLAY: ":99.0"

.prettierrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
"printWidth": 120,
44
"semi": true,
55
"singleQuote": false,
6-
"bracketSpacing": true
6+
"bracketSpacing": true,
7+
"endOfLine": "lf"
78
}

0 commit comments

Comments
 (0)