File tree Expand file tree Collapse file tree 6 files changed +100
-30
lines changed Expand file tree Collapse file tree 6 files changed +100
-30
lines changed Original file line number Diff line number Diff line change 4
4
directory : " /"
5
5
schedule :
6
6
interval : daily
7
- open-pull-requests-limit : 20
7
+ - package-ecosystem : github-actions
8
+ directory : " /"
9
+ schedule :
10
+ interval : daily
Original file line number Diff line number Diff line change
1
+ name : Linter
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ linter :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ - name : Use Node.js 14.x
11
+ uses : actions/setup-node@v2
12
+ with :
13
+ node-version : ' 14.x'
14
+ - name : Cache NPM dependencies
15
+ uses : actions/cache@v2
16
+ with :
17
+ path : node_modules
18
+ key : ${{ runner.OS }}-npm-cache
19
+ restore-keys : |
20
+ ${{ runner.OS }}-npm-cache
21
+ - name : Install Dependencies
22
+ run : npm install
23
+ - name : Lint
24
+ run : |
25
+ npm run eslint
26
+ env :
27
+ CI : true
Original file line number Diff line number Diff line change
1
+ name : Tester
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ tester :
7
+ runs-on : ${{ matrix.os }}
8
+ strategy :
9
+ matrix :
10
+ os : [ubuntu-latest, windows-latest, macos-latest]
11
+ node-version : ['12.x', '14.x', '16.x']
12
+ fail-fast : false
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - name : Use Node.js ${{ matrix.node-version }}
16
+ uses : actions/setup-node@v1
17
+ with :
18
+ node-version : ${{ matrix.node-version }}
19
+ - name : Cache NPM dependencies
20
+ uses : actions/cache@v2
21
+ with :
22
+ path : node_modules
23
+ key : ${{ runner.os }}-npm-cache
24
+ restore-keys : ${{ runner.os }}-npm-cache
25
+ - name : Install Dependencies
26
+ run : npm install
27
+ - name : Test
28
+ run : npm run test
29
+ env :
30
+ CI : true
31
+ coverage :
32
+ runs-on : ${{ matrix.os }}
33
+ strategy :
34
+ matrix :
35
+ os : [ubuntu-latest]
36
+ node-version : ['14.x']
37
+ steps :
38
+ - uses : actions/checkout@v2
39
+ - name : Use Node.js ${{ matrix.node-version }}
40
+ uses : actions/setup-node@v2
41
+ with :
42
+ node-version : ${{ matrix.node-version }}
43
+ - name : Cache NPM dependencies
44
+ uses : actions/cache@v2
45
+ with :
46
+ path : node_modules
47
+ key : ${{ runner.os }}-npm-cache
48
+ restore-keys : ${{ runner.os }}-npm-cache
49
+ - name : Install Dependencies
50
+ run : npm install
51
+ - name : Coverage
52
+ run : npm run test-cov
53
+ env :
54
+ CI : true
55
+ - name : Coveralls
56
+ uses : coverallsapp/github-action@master
57
+ with :
58
+ github-token : ${{ secrets.github_token }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# [ EJS] renderer
2
2
3
- [ ![ Build Status] ( https://travis-ci.org /hexojs/hexo-renderer-ejs.svg?branch=master )] ( https://travis-ci.org /hexojs/hexo-renderer-ejs )
3
+ [ ![ Build Status] ( https://github.com /hexojs/hexo-renderer-ejs/workflows/Tester/badge .svg?branch=master )] ( https://github.com /hexojs/hexo-renderer-ejs/actions?query=workflow%3ATester )
4
4
[ ![ NPM version] ( https://badge.fury.io/js/hexo-renderer-ejs.svg )] ( https://www.npmjs.com/package/hexo-renderer-ejs )
5
5
[ ![ Coverage Status] ( https://img.shields.io/coveralls/hexojs/hexo-renderer-ejs.svg )] ( https://coveralls.io/r/hexojs/hexo-renderer-ejs?branch=master )
6
6
7
7
Add support for [ EJS] .
8
8
9
- ** Now works with EJS v2 !**
9
+ ** Now works with EJS v3 !**
10
10
11
11
## Install
12
12
Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"eslint" : " eslint ." ,
8
8
"test" : " mocha test/index.js" ,
9
- "test-cov" : " nyc npm run test"
9
+ "test-cov" : " nyc --reporter=lcovonly npm run test"
10
10
},
11
11
"directories" : {
12
12
"lib" : " ./lib"
27
27
],
28
28
"license" : " MIT" ,
29
29
"dependencies" : {
30
- "ejs" : " ^3.0.1 "
30
+ "ejs" : " ^3.1.6 "
31
31
},
32
32
"devDependencies" : {
33
- "chai" : " ^4.2.0 " ,
34
- "eslint" : " ^7.0 .0" ,
35
- "eslint-config-hexo" : " ^4.0 .0" ,
36
- "hexo-fs" : " ^3.0.1 " ,
37
- "mocha" : " ^8.0.1 " ,
38
- "nyc" : " ^15.0 .0"
33
+ "chai" : " ^4.3.4 " ,
34
+ "eslint" : " ^7.32 .0" ,
35
+ "eslint-config-hexo" : " ^4.2 .0" ,
36
+ "hexo-fs" : " ^3.1.0 " ,
37
+ "mocha" : " ^8.4.0 " ,
38
+ "nyc" : " ^15.1 .0"
39
39
},
40
40
"engines" : {
41
- "node" : " >=10.13.0 "
41
+ "node" : " >=12 "
42
42
}
43
43
}
You can’t perform that action at this time.
0 commit comments