File tree Expand file tree Collapse file tree 2 files changed +42
-22
lines changed Expand file tree Collapse file tree 2 files changed +42
-22
lines changed Original file line number Diff line number Diff line change 1+ name : " CI"
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - master
10+ workflow_dispatch :
11+
12+ env :
13+ HUSKY : 0
14+
15+ jobs :
16+ test :
17+ name : " Test"
18+ runs-on : ubuntu-latest
19+ steps :
20+ - name : " Checkout"
21+ uses : actions/checkout@v3
22+ with :
23+ fetch-depth : 0
24+
25+ - uses : actions/setup-node@v3
26+ with :
27+ node-version : 16
28+
29+ - uses : bahmutov/npm-install@v1
30+ with :
31+ useRollingCache : true
32+ install-command : yarn --frozen-lockfile
33+
34+ - name : " Test"
35+ run : yarn test
36+
37+ - name : " Upload coverage to Codecov"
38+ uses : codecov/codecov-action@v3
39+ with :
40+ token : ${{ secrets.CODECOV_TOKEN }}
41+ files : coverage/lcov.info
42+ fail_ci_if_error : true
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments