File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 directory : " /"
55 schedule :
66 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 11# [ EJS] renderer
22
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 )
44[ ![ NPM version] ( https://badge.fury.io/js/hexo-renderer-ejs.svg )] ( https://www.npmjs.com/package/hexo-renderer-ejs )
55[ ![ Coverage Status] ( https://img.shields.io/coveralls/hexojs/hexo-renderer-ejs.svg )] ( https://coveralls.io/r/hexojs/hexo-renderer-ejs?branch=master )
66
77Add support for [ EJS] .
88
9- ** Now works with EJS v2 !**
9+ ** Now works with EJS v3 !**
1010
1111## Install
1212
Original file line number Diff line number Diff line change 66 "scripts" : {
77 "eslint" : " eslint ." ,
88 "test" : " mocha test/index.js" ,
9- "test-cov" : " nyc npm run test"
9+ "test-cov" : " nyc --reporter=lcovonly npm run test"
1010 },
1111 "directories" : {
1212 "lib" : " ./lib"
2727 ],
2828 "license" : " MIT" ,
2929 "dependencies" : {
30- "ejs" : " ^3.0.1 "
30+ "ejs" : " ^3.1.6 "
3131 },
3232 "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"
3939 },
4040 "engines" : {
41- "node" : " >=10.13.0 "
41+ "node" : " >=12 "
4242 }
4343}
You can’t perform that action at this time.
0 commit comments