File tree Expand file tree Collapse file tree 1 file changed +20
-21
lines changed
Expand file tree Collapse file tree 1 file changed +20
-21
lines changed Original file line number Diff line number Diff line change 1- name : main
2- on : push
3-
4- jobs :
5- build :
6- strategy :
7- matrix :
8- os : [macos-latest, ubuntu-latest, windows-latest]
9- runs-on : ${{matrix.os}}
10- steps :
11- - name : Checkout
12- uses : actions/checkout@v3
13- - name : Install Node.js
14- uses : actions/setup-node@v1
15- with :
16- node-version : 8.x
17- - run : npm install
18- - name : Run tests
19- 20- with :
21- run : npm test
1+ name : main
2+ on : push
3+
4+ jobs :
5+ build :
6+ strategy :
7+ matrix :
8+ os : [macos-latest, ubuntu-latest, windows-latest]
9+ runs-on : ${{matrix.os}}
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v3
13+
14+ - name : Install dependencies
15+ run : npm install
16+
17+ - name : Run tests
18+ run : |
19+ export DISPLAY=":0"
20+ xvfb-run --auto-servernum npm test
You can’t perform that action at this time.
0 commit comments