File tree 2 files changed +14
-7
lines changed
2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,15 @@ jobs:
22
22
fail-fast : false
23
23
name : ${{ matrix.name }}
24
24
runs-on : ubuntu-latest
25
- timeout-minutes : 30
25
+ timeout-minutes : 5
26
26
steps :
27
- - uses : actions/checkout@v2
27
+ - uses : actions/checkout@v4
28
28
- name : Use Node.js ${{ matrix.NODE_VERSION }}
29
- uses : actions/setup-node@v1
29
+ uses : actions/setup-node@v4
30
30
with :
31
31
node-version : ${{ matrix.NODE_VERSION }}
32
32
- name : Cache Node.js modules
33
- uses : actions/cache@v2
33
+ uses : actions/cache@v4
34
34
with :
35
35
path : ~/.npm
36
36
key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
39
39
- run : npm ci
40
40
- run : npm run lint
41
41
- run : npm run coverage
42
- - run : bash <(curl -s https://codecov.io/bash)
42
+ - name : Upload code coverage
43
+ uses : codecov/codecov-action@v4
44
+ with :
45
+ fail_ci_if_error : true
46
+ token : ${{ secrets.CODECOV_TOKEN }}
47
+ concurrency :
48
+ group : ${{ github.workflow }}-${{ github.ref }}
49
+ cancel-in-progress : true
Original file line number Diff line number Diff line change 1
1
# Node APN <!-- omit in toc -->
2
2
3
- [ ![ Build Status] ( https://github.com/parse-community/node-apn/workflows/ci/badge.svg?branch=master )] ( https://github.com/parse-community/parse-server-push-adapter /actions?query=workflow%3Aci+branch%3Amaster )
3
+ [ ![ Build Status] ( https://github.com/parse-community/node-apn/actions/ workflows/ci.yml /badge.svg?branch=master )] ( https://github.com/parse-community/node-apn /actions/workflows/ci.yml ?query=workflow%3Aci+branch%3Amaster )
4
4
[ ![ Snyk Badge] ( https://snyk.io/test/github/parse-community/node-apn/badge.svg )] ( https://snyk.io/test/github/parse-community/parse-server-push-adapter )
5
- [ ![ Coverage] ( https://img.shields. io/codecov/c/ github/parse-community/node-apn/master.svg )] ( https://codecov.io/github/parse-community/parse-server-push-adapter?branch= master )
5
+ [ ![ Coverage] ( https://codecov. io/github/parse-community/node-apn/branch/ master/graph/badge .svg )] ( https://app. codecov.io/github/parse-community/node-apn/tree/ master )
6
6
[ ![ auto-release] ( https://img.shields.io/badge/%F0%9F%9A%80-auto--release-9e34eb.svg )] ( https://github.com/parse-community/node-apn/releases )
7
7
8
8
[ ![ npm latest version] ( https://img.shields.io/npm/v/@parse/node-apn.svg )] ( https://www.npmjs.com/package/@parse/node-apn )
You can’t perform that action at this time.
0 commit comments