File tree 3 files changed +32
-48
lines changed
3 files changed +32
-48
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Test and Lint
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ test :
7
+ runs-on : ubuntu-latest
8
+
9
+ strategy :
10
+ matrix :
11
+ node-version : [14.x, 16.x, 18.x]
12
+
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+ - name : Use Node.js ${{ matrix.node-version }}
16
+ uses : actions/setup-node@v3
17
+ with :
18
+ node-version : ${{ matrix.node-version }}
19
+ cache : ' npm'
20
+ - run : npm install
21
+ - run : npm run test
22
+ lint :
23
+ runs-on : ubuntu-latest
24
+ steps :
25
+ - uses : actions/checkout@v3
26
+ - uses : actions/setup-node@v3
27
+ with :
28
+ node-version : 18.x
29
+ cache : ' npm'
30
+ - run : npm install
31
+ - run : npm run lint
Original file line number Diff line number Diff line change 1
- # git-consistent [ ![ CircleCI ] ( https://dl.circleci. com/status-badge/img/gh/ isuke/git-consistent/tree/master. svg?style=svg )] ( https://dl.circleci. com/status-badge/redirect/gh/ isuke/git-consistent/tree/master ) [ ![ "npm"] ( https://img.shields.io/npm/v/git-consistent.svg )] ( https://www.npmjs.com/package/git-consistent ) [ ![ "git-consistent friendly"] ( https://img.shields.io/badge/git--consistent-friendly-brightgreen.svg )] ( "https://github.com/isuke/git-consistent" )
1
+ # git-consistent [ ![ Test and Lint ] ( https://github. com/isuke/git-consistent/actions/workflows/main.yml/badge. svg )] ( https://github. com/isuke/git-consistent/actions/workflows/main.yml ) [ ![ "npm"] ( https://img.shields.io/npm/v/git-consistent.svg )] ( https://www.npmjs.com/package/git-consistent ) [ ![ "git-consistent friendly"] ( https://img.shields.io/badge/git--consistent-friendly-brightgreen.svg )] ( "https://github.com/isuke/git-consistent" )
2
2
3
3
![ ] ( https://raw.githubusercontent.com/isuke/git-consistent/images/git-consistent01.gif )
4
4
You can’t perform that action at this time.
0 commit comments