File tree Expand file tree Collapse file tree 3 files changed +27
-9
lines changed Expand file tree Collapse file tree 3 files changed +27
-9
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ - push
4+ - pull_request
5+ jobs :
6+ Test :
7+ runs-on : ubuntu-latest
8+ strategy :
9+ matrix :
10+ node-version :
11+ - 12
12+ - 16
13+ steps :
14+ - name : Clone repository
15+ uses : actions/checkout@v2
16+
17+ - name : Use Node ${{ matrix.node-version }}
18+ uses : actions/setup-node@v2
19+ with :
20+ node-version : ${{ matrix.node-version }}
21+
22+ - name : Install dependencies
23+ run : npm install
24+
25+ - name : Test
26+ run : npm test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1717 "test" : " ava test/*.js --verbose --serial" ,
1818 "build" : " babel src/ --out-dir lib/" ,
1919 "watch" : " babel --watch src/ --out-dir lib/" ,
20- "prepublish " : " npm test" ,
20+ "prepublishOnly " : " npm run build && npm test" ,
2121 "pretest" : " npm run build"
2222 },
2323 "repository" : " 2createStudio/postcss-sprites" ,
You can’t perform that action at this time.
0 commit comments