File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,11 @@ on: [push, pull_request]
44
55jobs :
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
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"
Original file line number Diff line number Diff line change 33 "printWidth" : 120 ,
44 "semi" : true ,
55 "singleQuote" : false ,
6- "bracketSpacing" : true
6+ "bracketSpacing" : true ,
7+ "endOfLine" : " lf"
78}
You can’t perform that action at this time.
0 commit comments