File tree 4 files changed +990
-438
lines changed
4 files changed +990
-438
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3
+
4
+ name : Node.js CI
5
+
6
+ on :
7
+ push :
8
+ branches : [master]
9
+ pull_request :
10
+ branches : [master]
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : ubuntu-latest
15
+
16
+ strategy :
17
+ matrix :
18
+ node-version : [10.x, 12.x]
19
+
20
+ steps :
21
+ - uses : actions/checkout@v2
22
+ - name : Use Node.js ${{ matrix.node-version }}
23
+ uses : actions/setup-node@v1
24
+ with :
25
+ node-version : ${{ matrix.node-version }}
26
+ - run : yarn install --frozen-lockfile
27
+ - run : yarn tsc -p . --noEmit
28
+ env :
29
+ CI : true
Original file line number Diff line number Diff line change 11
11
"prepare" : " tsc -p tsconfig.json"
12
12
},
13
13
"dependencies" : {
14
- "@nestjs/common" : " ^6.11.0" ,
15
- "@nestjs/core" : " ^6.11.0" ,
16
- "@nestjs/graphql" : " 6.5.3" ,
17
14
"dataloader" : " ^2.0.0" ,
18
15
"rxjs" : " ^6.5.4"
19
16
},
20
17
"peerDependencies" : {
18
+ "@nestjs/common" : " ^6.11.0 || ^7.0.0" ,
19
+ "@nestjs/core" : " ^6.11.0 || ^7.0.0" ,
20
+ "@nestjs/graphql" : " ^6.5.3 || ^7.0.0" ,
21
21
"graphql" : " ^14.1.1" ,
22
22
"reflect-metadata" : " ^0.1.12"
23
23
},
24
24
"devDependencies" : {
25
+ "@nestjs/common" : " ^7.0.5" ,
26
+ "@nestjs/core" : " ^7.0.5" ,
27
+ "@nestjs/graphql" : " ^7.0.15" ,
25
28
"apollo-server-express" : " ^2.9.16" ,
29
+ "graphql" : " ^14.1.1" ,
30
+ "reflect-metadata" : " ^0.1.12" ,
26
31
"typescript" : " ^3.7.4"
27
32
},
28
33
"types" : " index.d.ts" ,
Original file line number Diff line number Diff line change 9
9
"sourceMap" : true ,
10
10
"outDir" : " ./dist" ,
11
11
"baseUrl" : " ./" ,
12
- "incremental" : true ,
13
12
"esModuleInterop" : true
14
13
},
15
14
"exclude" : [" node_modules" , " dist" ]
You can’t perform that action at this time.
0 commit comments