File tree Expand file tree Collapse file tree 3 files changed +42
-20
lines changed Expand file tree Collapse file tree 3 files changed +42
-20
lines changed Original file line number Diff line number Diff line change
1
+ name : Unit Tests
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+
13
+ strategy :
14
+ matrix :
15
+ node-version : [12.x, 14.x, 16.x, 17.x]
16
+
17
+ steps :
18
+ - uses : actions/checkout@v2
19
+
20
+ - name : Use Node.js ${{ matrix.node-version }}
21
+ uses : actions/setup-node@v2
22
+ with :
23
+ node-version : ${{ matrix.node-version }}
24
+
25
+ - name : Cache dependencies
26
+ if : ${{ !env.ACT }}
27
+ uses : actions/cache@v2
28
+ with :
29
+ path : ./node_modules
30
+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
31
+ restore-keys : |
32
+ ${{ runner.os }}-node-
33
+
34
+ - name : Install dependencies
35
+ run : npm ci --ignore-scripts
36
+
37
+ - name : Install winston@3 peer dependency
38
+ run : npm install --no-save winston@3
39
+
40
+ - run : npm test
41
+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# winston-daily-rotate-file
2
2
3
- [ ![ NPM version] [ npm-image ]] [ npm-url ] [ ![ Build Status ] [ travis-image ]] [ travis-url ] [ ![ Dependency Status ] [ daviddm-image ]] [ daviddm-url ]
3
+ [ ![ NPM version] [ npm-image ]] [ npm-url ]
4
4
5
5
[ ![ NPM] ( https://nodei.co/npm/winston-daily-rotate-file.png )] ( https://nodei.co/npm/winston-daily-rotate-file/ )
6
6
133
133
134
134
[ npm-image ] : https://badge.fury.io/js/winston-daily-rotate-file.svg
135
135
[ npm-url ] : https://npmjs.org/package/winston-daily-rotate-file
136
- [ travis-image ] : https://travis-ci.org/winstonjs/winston-daily-rotate-file.svg?branch=master
137
- [ travis-url ] : https://travis-ci.org/winstonjs/winston-daily-rotate-file
138
- [ daviddm-image ] : https://david-dm.org/winstonjs/winston-daily-rotate-file.svg?theme=shields.io
139
- [ daviddm-url ] : https://david-dm.org/winstonjs/winston-daily-rotate-file
You can’t perform that action at this time.
0 commit comments