File tree Expand file tree Collapse file tree 3 files changed +40
-22
lines changed Expand file tree Collapse file tree 3 files changed +40
-22
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ - push
4+ - pull_request
5+ jobs :
6+ test :
7+ name : Node.js ${{ matrix.node-version }}
8+ runs-on : macos-latest
9+ strategy :
10+ matrix :
11+ node-version :
12+ - " 10"
13+ - " 12"
14+ - " 14"
15+ - " *"
16+ steps :
17+ - uses : actions/checkout@v2
18+ - uses : actions/setup-node@v1
19+ with :
20+ node-version : ${{ matrix.node-version }}
21+ - uses : actions/cache@v2
22+ with :
23+ path : ~/.npm
24+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
25+ restore-keys : |
26+ ${{ runner.os }}-node-
27+ - run : npm install -g npm@7
28+ - run : npm ci
29+ - run : npm test
30+ - uses : codecov/codecov-action@v1
31+ with :
32+ name : Node.js ${{ matrix.node-version }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33[ ![ NPM version] [ npm-image ]] [ npm-url ]
44[ ![ NPM downloads] [ downloads-image ]] [ downloads-url ]
5- [ ![ Build status] [ travis -image]] [ travis -url]
6- [ ![ Test coverage] [ coveralls -image]] [ coveralls -url]
5+ [ ![ Build status] [ build -image]] [ build -url]
6+ [ ![ Build coverage] [ coverage -image]] [ coverage -url]
77
88> Stringify is to ` eval ` as ` JSON.stringify ` is to ` JSON.parse ` .
99
@@ -111,11 +111,11 @@ module.exports = (objectToStringify) => {
111111
112112MIT
113113
114- [ npm-image ] : https://img.shields.io/npm/v/javascript-stringify.svg?style=flat
114+ [ npm-image ] : https://img.shields.io/npm/v/javascript-stringify
115115[ npm-url ] : https://npmjs.org/package/javascript-stringify
116- [ downloads-image ] : https://img.shields.io/npm/dm/javascript-stringify.svg?style=flat
116+ [ downloads-image ] : https://img.shields.io/npm/dm/javascript-stringify
117117[ downloads-url ] : https://npmjs.org/package/javascript-stringify
118- [ travis -image] : https://img.shields.io/travis/ blakeembrey/javascript-stringify.svg?style=flat
119- [ travis -url] : https://travis-ci.org /blakeembrey/javascript-stringify
120- [ coveralls -image] : https://img.shields.io/coveralls/ blakeembrey/javascript-stringify.svg?style=flat
121- [ coveralls -url] : https://coveralls .io/r /blakeembrey/javascript-stringify?branch=master
118+ [ build -image] : https://img.shields.io/github/workflow/status/ blakeembrey/javascript-stringify/CI/main
119+ [ build -url] : https://github.com /blakeembrey/javascript-stringify/actions/workflows/ci.yml?query=branch%3Amain
120+ [ coverage -image] : https://img.shields.io/codecov/c/gh/ blakeembrey/javascript-stringify
121+ [ coverage -url] : https://codecov .io/gh /blakeembrey/javascript-stringify
You can’t perform that action at this time.
0 commit comments