File tree 4 files changed +38
-12403
lines changed
4 files changed +38
-12403
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ test :
7
+ strategy :
8
+ matrix :
9
+ platform : [ubuntu-latest]
10
+ node : [ '10', '12' ]
11
+ name : Node ${{ matrix.node }} (${{ matrix.platform }})
12
+ runs-on : ${{ matrix.platform }}
13
+ steps :
14
+ - uses : actions/checkout@v1
15
+ - uses : actions/setup-node@v1
16
+ with :
17
+ node-version : ${{ matrix.node }}
18
+ - name : install dependencies
19
+ run : npm i
20
+ - name : run tests
21
+ run : npm test
22
+ test_latest :
23
+ runs-on : ubuntu-latest
24
+ container : node:latest
25
+ name : Node latest (ubuntu-latest)
26
+ steps :
27
+ - uses : actions/checkout@v1
28
+ - name : install dependencies
29
+ run : npm i
30
+ - name : run tests
31
+ run : npm test
Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
3
- " node"
4
- - " 8"
4
+ - " 12"
5
+ - " 10"
6
+ install : npm i
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 8
8
"test" : " test"
9
9
},
10
10
"scripts" : {
11
+ "preinstall" : " npx npm-force-resolutions" ,
11
12
"test" : " npm run build && cross-env NODE_ENV=test jest && npm run lint" ,
12
13
"start" : " run-p start:**" ,
13
14
"start:babel-node" : " babel-node src/cli/bin db.json -r routes.json" ,
81
82
"webpack-cli" : " ^3.3.7" ,
82
83
"whatwg-fetch" : " ^3.0.0"
83
84
},
85
+ "resolutions" : {
86
+ "graceful-fs" : " 4.2.3"
87
+ },
84
88
"repository" : {
85
89
"type" : " git" ,
86
90
"url" : " git://github.com/typicode/json-server.git"
You can’t perform that action at this time.
0 commit comments