File tree Expand file tree Collapse file tree 2 files changed +15
-11
lines changed
Expand file tree Collapse file tree 2 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 1+ orbs :
2+ node : circleci/node@5.0.2
3+
14version : 2.1
25
3- orbs :
4- node : circleci/node@1.1.6
6+ parameters :
7+ node_version :
8+ type : string
9+ default : ' 16.15.1'
510
611commands :
712 install_deps :
813 steps :
9- - node/with-cache :
14+ - node/install-packages :
15+ pkg-manager : yarn
1016 cache-version : v1-all
11- cache-key : package.json
12- dir : ~/repo/node_modules
13- use-strict-cache : true
14- steps :
15- - run : yarn install --pure-lockfile --no-progress
17+ cache-only-lockfile : true
18+ app-dir : ~/repo
19+ override-ci-command : yarn install --pure-lockfile --no-progress
1620
1721jobs :
1822 build :
1923 executor :
2024 name : node/default
21- tag : ' 12 '
25+ tag : << pipeline.parameters.node_version >>
2226 working_directory : ~/repo
2327 steps :
2428 - checkout
Original file line number Diff line number Diff line change 4040 "@babel/preset-typescript" : " 7.17.12" ,
4141 "@shelf/eslint-config" : " 2.18.0" ,
4242 "@shelf/prettier-config" : " 1.0.0" ,
43- "@types/node" : " 12 " ,
43+ "@types/node" : " 16 " ,
4444 "eslint" : " 8.18.0" ,
4545 "husky" : " 8.0.1" ,
4646 "lint-staged" : " 13.0.2" ,
5050 "webpack-cli" : " 4.10.0"
5151 },
5252 "engines" : {
53- "node" : " >=12 "
53+ "node" : " >=16 "
5454 },
5555 "publishConfig" : {
5656 "access" : " public"
You can’t perform that action at this time.
0 commit comments