File tree Expand file tree Collapse file tree 6 files changed +52
-43
lines changed
Expand file tree Collapse file tree 6 files changed +52
-43
lines changed Original file line number Diff line number Diff line change 1+ name : Node.js CI
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+ schedule :
9+ - cron : ' 10 2 * * *'
10+
11+ jobs :
12+ test :
13+ runs-on : ${{ matrix.os }}
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ node-version :
18+ - 12
19+ - 14
20+ - 16
21+ - 17
22+ os :
23+ - ubuntu-latest
24+ - windows-latest
25+
26+ steps :
27+ - uses : actions/checkout@v2
28+ - name : Use Node.js ${{ matrix.node-version }}
29+ uses : actions/setup-node@v2
30+ with :
31+ node-version : ${{ matrix.node-version }}
32+ - run : npm i
33+ - run : npm test
34+ - run : npm run eslint
35+ if : ${{ matrix.node-version == '16' && matrix.os == 'ubuntu-latest' }}
36+ - name : Coveralls
37+ if : ${{ matrix.node-version == '16' && matrix.os == 'ubuntu-latest' }}
38+ uses : coverallsapp/github-action@master
39+ with :
40+ github-token : ${{ secrets.GITHUB_TOKEN }}
41+ - name : Publish codeclimate code coverage
42+ if : ${{ matrix.node-version == '16' && matrix.os == 'ubuntu-latest' }}
43+ uses : paambaati/codeclimate-action@v3.0.0
44+ env :
45+ CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
46+ with :
47+ coverageLocations : |
48+ ${{github.workspace}}/coverage/lcov.info:lcov
Original file line number Diff line number Diff line change 11node_modules
2+ package-lock.json
23npm-debug.log
34coverage
45.idea
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11## Introduction
22Parse urls from css file
33
4- [ ![ Build Status ] ( https://img.shields.io/travis/ website-scraper/node-css-url-parser/master. svg?style=flat )] ( https://travis-ci .com/github/ website-scraper/node-css-url-parser )
4+ [ ![ Node.js CI ] ( https://github.com/ website-scraper/node-css-url-parser/actions/workflows/node.js.yml/badge. svg?branch=master )] ( https://github .com/website-scraper/node-css-url-parser/ )
55[ ![ Coverage Status] ( https://coveralls.io/repos/website-scraper/node-css-url-parser/badge.svg )] ( https://coveralls.io/r/website-scraper/node-css-url-parser )
66[ ![ Code Climate] ( https://codeclimate.com/github/website-scraper/node-css-url-parser/badges/gpa.svg )] ( https://codeclimate.com/github/website-scraper/node-css-url-parser )
77[ ![ Version] ( https://img.shields.io/npm/v/css-url-parser.svg?style=flat )] ( https://www.npmjs.org/package/css-url-parser )
88[ ![ Downloads] ( https://img.shields.io/npm/dm/css-url-parser.svg?style=flat )] ( https://www.npmjs.org/package/css-url-parser )
9- [ ![ Dependency Status] ( https://david-dm.org/website-scraper/node-css-url-parser.svg?style=flat )] ( https://david-dm.org/website-scraper/node-css-url-parser )
109[ ![ Gitter] ( https://badges.gitter.im/website-scraper/node-css-url-parser.svg )] ( https://gitter.im/website-scraper/node-css-url-parser?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge )
1110
1211
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55 "readmeFilename" : " README.md" ,
66 "main" : " index.js" ,
77 "scripts" : {
8- "test" : " istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && npm run eslint " ,
8+ "test" : " c8 --all --reporter=text --reporter=lcov mocha --recursive " ,
99 "eslint" : " eslint lib/** index.js"
1010 },
1111 "keywords" : [
2424 "author" : " Sophia Antipenko <sophia@antipenko.pp.ua>" ,
2525 "license" : " MIT" ,
2626 "devDependencies" : {
27- "coveralls " : " ^3.0 .0" ,
27+ "c8 " : " ^7.10 .0" ,
2828 "eslint" : " ^4.15.0" ,
29- "istanbul" : " ^0.4.5" ,
3029 "mocha" : " ^5.0.0" ,
3130 "should" : " ^13.0.0"
3231 },
You can’t perform that action at this time.
0 commit comments