File tree 3 files changed +56
-6
lines changed
3 files changed +56
-6
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+
7
+ jobs :
8
+ lint-coverage :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - name : Setup node 16
13
+ uses : actions/setup-node@v2
14
+ with :
15
+ node-version : 16
16
+ cache : " npm"
17
+ - run : npm ci
18
+ - run : npm run lint
19
+ - run : npm run bundle-and-test
20
+ env :
21
+ REPORTER : " min"
22
+ - run : npm run coverage
23
+ env :
24
+ REPORTER : " min"
25
+ - name : Send coverage to Coveralls
26
+ uses : coverallsapp/github-action@1.1.3
27
+ with :
28
+ github-token : ${{ secrets.GITHUB_TOKEN }}
29
+
30
+ run-tests :
31
+ needs : lint-coverage
32
+ runs-on : ubuntu-latest
33
+
34
+ strategy :
35
+ matrix :
36
+ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
37
+ node_version :
38
+ - 12.20.0
39
+ - 14.13.0
40
+ - 16
41
+
42
+ steps :
43
+ - uses : actions/checkout@v2
44
+ - name : Setup node ${{ matrix.node_version }}
45
+ uses : actions/setup-node@v2
46
+ with :
47
+ node-version : ${{ matrix.node_version }}
48
+ cache : " npm"
49
+ - run : npm ci
50
+ - run : npm run test
51
+ env :
52
+ REPORTER : " min"
53
+ - run : npm run esm-to-cjs-and-test
54
+ env :
55
+ REPORTER : " min"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
[ ![ NPM version] ( https://img.shields.io/npm/v/clap.svg )] ( https://www.npmjs.com/package/clap )
2
- [ ![ Build Status] ( https://travis-ci.org /lahmatiy/clap. svg?branch=master )] ( https://travis-ci.org /lahmatiy/clap )
2
+ [ ![ Build Status] ( https://github.com /lahmatiy/clap/actions/workflows/build.yml/badge. svg )] ( https://github.com /lahmatiy/clap/actions/workflows/build.yml )
3
3
[ ![ Coverage Status] ( https://coveralls.io/repos/github/lahmatiy/clap/badge.svg?branch=master )] ( https://coveralls.io/github/lahmatiy/clap?branch=master )
4
4
5
5
# Clap.js
You can’t perform that action at this time.
0 commit comments