File tree Expand file tree Collapse file tree 2 files changed +57
-5
lines changed Expand file tree Collapse file tree 2 files changed +57
-5
lines changed Original file line number Diff line number Diff line change
1
+ name : Node CI
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build :
7
+
8
+ runs-on : ubuntu-latest
9
+ env :
10
+ NAME : madrun
11
+
12
+ strategy :
13
+ matrix :
14
+ node-version : [14.x, 15.x]
15
+
16
+ steps :
17
+ - uses : actions/checkout@v1
18
+ - name : Use Node.js ${{ matrix.node-version }}
19
+ uses : actions/setup-node@v1
20
+ with :
21
+ node-version : ${{ matrix.node-version }}
22
+
23
+ - name : Install Redrun
24
+ run :
25
+ npm i redrun -g
26
+
27
+ - name : Install
28
+ run :
29
+ npm install
30
+
31
+ - name : Bootstrap
32
+ run :
33
+ redrun bootstrap
34
+
35
+ - name : Lint
36
+ run :
37
+ redrun fix:lint
38
+
39
+ - name : Commit fixes
40
+ uses : EndBug/add-and-commit@v7
41
+ with :
42
+ message : ' chore(${{ env.NAME }}) lint using actions'
43
+
44
+ - name : Coverage
45
+ run :
46
+ redrun coverage report
47
+
48
+ - name : Coveralls
49
+ uses : coverallsapp/github-action@master
50
+ with :
51
+ github-token : ${{ secrets.GITHUB_TOKEN }}
52
+
Original file line number Diff line number Diff line change @@ -159,13 +159,13 @@ $ madrun fix:lint
159
159
160
160
MIT
161
161
162
- [ NPMIMGURL ] : https://img.shields.io/npm/v/madrun.svg?style=flat
163
- [ BuildStatusIMGURL ] : https://img.shields.io/travis/coderaiser/madrun/master.svg?style=flat
164
- [ DependencyStatusIMGURL ] : https://img.shields.io/david/coderaiser/madrun.svg?style=flat
165
- [ LicenseIMGURL ] : https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat
166
162
[ NPMURL ] : https://npmjs.org/package/madrun " npm "
167
- [ BuildStatusURL ] : https://travis-ci.org/coderaiser/madrun " Build Status "
163
+ [ NPMIMGURL ] : https://img.shields.io/npm/v/madrun.svg?style=flat
164
+ [ BuildStatusURL ] : https://github.com/coderaiser/madrun/actions?query=workflow%3A%22Node+CI%22 " Build Status "
165
+ [ BuildStatusIMGURL ] : https://github.com/coderaiser/madrun/workflows/Node%20CI/badge.svg
168
166
[ DependencyStatusURL ] : https://david-dm.org/coderaiser/madrun " Dependency Status "
167
+ [ DependencyStatusIMGURL ] : https://img.shields.io/david/coderaiser/madrun.svg?style=flat
169
168
[ LicenseURL ] : https://tldrlegal.com/license/mit-license " MIT License "
169
+ [ LicenseIMGURL ] : https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat
170
170
[ CoverageURL ] : https://coveralls.io/github/coderaiser/madrun?branch=master
171
171
[ CoverageIMGURL ] : https://coveralls.io/repos/coderaiser/madrun/badge.svg?branch=master&service=github
You can’t perform that action at this time.
0 commit comments