File tree Expand file tree Collapse file tree 1 file changed +28
-27
lines changed
Expand file tree Collapse file tree 1 file changed +28
-27
lines changed Original file line number Diff line number Diff line change 1- on : [ "push", "pull_request" ]
1+ on : ["push", "pull_request"]
22
33name : Unit Tests
44
55jobs :
6- test :
7- name : Run Unit Tests
8- runs-on : ubuntu-latest
9- permissions :
10- contents : read
11- pull-requests : write
12- steps :
6+ test :
7+ name : Run Unit Tests
8+ runs-on : ubuntu-latest
9+ permissions :
10+ contents : read
11+ pull-requests : write
12+ steps :
13+ - uses : actions/checkout@v4
1314
14- - uses : actions/checkout@v4
15+ - name : Use Node.js 20.x
16+ uses : actions/setup-node@v3
17+ with :
18+ node-version : 20.x
1519
16- - name : Use Node.js 20.x
17- uses : actions/setup-node@v3
18- with :
19- node-version : 20.x
20+ - name : Install dependencies
21+ run : |
22+ npm install -g pnpm@latest
23+ pnpm i
2024
21- - name : Install dependencies
22- run : |
23- npm install -g pnpm@latest
24- pnpm i
25+ - name : Run tests
26+ run : |
27+ pnpm test:coverage:ci
2528
26- - name : Run tests
27- run : |
28- pnpm test:coverage:ci
29-
30- - name : Report to Coveralls
31- uses : coverallsapp/github-action@v2
32- with :
33- github-token : ${{ secrets.COVERALLS_REPO_TOKEN }}
34- file : coverage/lcov.info
35- allow-empty : true
29+ - name : Report to Coveralls
30+ uses : coverallsapp/github-action@v2
31+ if : success()
32+ continue-on-error : true
33+ with :
34+ github-token : ${{ secrets.COVERALLS_REPO_TOKEN }}
35+ file : coverage/lcov.info
36+ allow-empty : true
You can’t perform that action at this time.
0 commit comments