File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,16 @@ 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 :
14+ - name : Configure Git line endings
15+ run : git config --global core.autocrlf false
16+
1017 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1118
1219 - name : Build
1825 - name : 📦 Install dependencies
1926 run : yarn --frozen-lockfile
2027
21- - run : /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
28+ - name : Start Xvfb (Linux only)
29+ if : runner.os == 'Linux'
30+ run : /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
31+
2232 - run : yarn run test
2333 env :
2434 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