This repository was archived by the owner on Dec 29, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ name : build
2+ on :
3+ push :
4+ branches :
5+ - master
6+ tags :
7+ - " !*" # Do not execute on tags
8+ paths :
9+ - src/*
10+ - test/*
11+ - __tests__/*
12+ - " *.json"
13+ - yarn.lock
14+ - .github/**/*.yml
15+ pull_request :
16+ paths :
17+ - " !*.MD"
18+ jobs :
19+ test :
20+ strategy :
21+ matrix :
22+ platform : [ubuntu-latest, macOS-latest]
23+ node : ["12", "10"]
24+ name : test/node ${{ matrix.node }}/${{ matrix.platform }}
25+ runs-on : ${{ matrix.platform }}
26+ steps :
27+ - uses : actions/checkout@master
28+ - uses : actions/setup-node@master
29+ with :
30+ node-version : ${{ matrix.node }}
31+ - run : npm install -g yarn
32+ - run : yarn install
33+ - run : yarn test
34+ coverage :
35+ needs : [test]
36+ name : coverage
37+ runs-on : ubuntu-latest
38+ steps :
39+ - uses : actions/checkout@master
40+ - uses : actions/setup-node@master
41+ with :
42+ node-version : " 12"
43+ - run : npm install -g yarn
44+ - run : yarn install
45+ - uses : paambaati/codeclimate-action@v2.5.3
46+ env :
47+ CC_TEST_REPORTER_ID : ${{secrets.CC_TEST_REPORTER_ID}}
48+ with :
49+ coverageCommand : yarn coverage
50+ debug : true
You can’t perform that action at this time.
0 commit comments