File tree Expand file tree Collapse file tree 3 files changed +12
-13
lines changed
Expand file tree Collapse file tree 3 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -3,26 +3,26 @@ version: 2
33aliases :
44 - &restore-cache
55 restore_cache :
6- key : dependency-cache-{{ checksum "package.json" }}
6+ key : dependency-cache-{{ checksum "package.json" }}
77 - &install-deps
88 run :
9- name : Install dependencies
10- command : npm ci
9+ name : Install dependencies
10+ command : npm ci
1111 - &build-packages
1212 run :
13- name : Build
14- command : npm run build
13+ name : Build
14+ command : npm run build
1515
1616jobs :
1717 build :
1818 working_directory : ~/nest
1919 docker :
20- - image : cimg/node:17.9
20+ - image : cimg/node:20.2
2121 steps :
2222 - checkout
2323 - run :
24- name : Use NPM v8
25- command : npm install -g npm@^8
24+ name : Update NPM version
25+ command : sudo npm install -g npm@latest
2626 - restore_cache :
2727 key : dependency-cache-{{ checksum "package.json" }}
2828 - run :
@@ -34,11 +34,11 @@ jobs:
3434 - ./node_modules
3535 - run :
3636 name : Build
37- command : npm run build
37+ command : npm run build
3838 test :
3939 working_directory : ~/nest
4040 docker :
41- - image : cimg/node:17.9
41+ - image : cimg/node:20.2
4242 steps :
4343 - checkout
4444 - *restore-cache
@@ -55,4 +55,3 @@ workflows:
5555 - test :
5656 requires :
5757 - build
58-
Original file line number Diff line number Diff line change 1919 "prepare" : " husky install"
2020 },
2121 "peerDependencies" : {
22- "@nestjs/common" : " ^8.0.0 || ^9.0.0"
22+ "@nestjs/common" : " ^8.0.0 || ^9.0.0 || ^10.0.0 "
2323 },
2424 "devDependencies" : {
2525 "@commitlint/cli" : " 17.6.5" ,
Original file line number Diff line number Diff line change 77 "noLib" : false ,
88 "emitDecoratorMetadata" : true ,
99 "experimentalDecorators" : true ,
10- "target" : " es6 " ,
10+ "target" : " ES2021 " ,
1111 "sourceMap" : false ,
1212 "outDir" : " ./dist" ,
1313 "rootDir" : " ./lib" ,
You can’t perform that action at this time.
0 commit comments