File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : ' ci'
2+
3+ on :
4+ push :
5+ branches : [master]
6+ pull_request :
7+ branches : [master]
8+
9+ jobs :
10+ ci :
11+ runs-on : ' ubuntu-latest'
12+ steps :
13+ - uses : ' actions/checkout@v2'
14+
15+ - name : ' Use Node.js'
16+ uses : ' actions/setup-node@v2.4.0'
17+ with :
18+ node-version : ' lts/*'
19+
20+ - name : ' Cache Node dependencies'
21+ uses : ' actions/cache@v2.1.6'
22+ with :
23+ path : ' ~/.npm'
24+ key : ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
25+ restore-keys : |
26+ ${{ runner.os }}-node-
27+
28+ - name : ' Install dependencies'
29+ run : ' npm install'
30+
31+ - name : ' Run tests'
32+ run : ' npm test'
Original file line number Diff line number Diff line change 1- .travis.yml
21test /
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- # eslint-config-standard [ ![ travis ] [ travis -image]] [ travis -url] [ ![ npm] [ npm-image ]] [ npm-url ] [ ![ downloads] [ downloads-image ]] [ downloads-url ] [ ![ javascript style guide] [ standard-image ]] [ standard-url ]
1+ # eslint-config-standard [ ![ CI ] [ ci -image]] [ ci -url] [ ![ npm] [ npm-image ]] [ npm-url ] [ ![ downloads] [ downloads-image ]] [ downloads-url ] [ ![ javascript style guide] [ standard-image ]] [ standard-url ]
22
3- [ travis -image] : https://img.shields.io/travis/ standard/eslint-config-standard/master. svg
4- [ travis -url] : https://travis-ci.org /standard/eslint-config-standard
3+ [ ci -image] : https://github.com/ standard/eslint-config-standard/actions/workflows/ci.yml/badge. svg?branch=master
4+ [ ci -url] : https://github.com /standard/eslint-config-standard/actions/workflows/ci.yml
55[ npm-image ] : https://img.shields.io/npm/v/eslint-config-standard.svg
66[ npm-url ] : https://npmjs.org/package/eslint-config-standard
77[ downloads-image ] : https://img.shields.io/npm/dm/eslint-config-standard.svg
You can’t perform that action at this time.
0 commit comments