File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed
Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change 1- version : 2
1+ version : 2.1
2+ orbs :
3+ 24jobs :
35 build :
46 docker :
5- - image : circleci/node:lts
7+ - image : cmg/base:stable
68 working_directory : ~/repo
79 steps :
810 - checkout
9- - restore_cache :
10- keys :
11- - v1-dependencies-{{ checksum "package.json" }}
12- # fallback to using the latest cache if no exact match is found
13- - v1-dependencies-
14- - run : npm install
11+ - node/install :
12+ install-yarn : true
13+ node-version : ' 20.18.1'
14+ - run : node --version && npm install
1515 - run : |
1616 mkdir ~/my_test_artifacts
1717 echo "This should point to root_artifact.md for commit ${CIRCLE_SHA1}" > ~/my_test_artifacts/root_artifact.md
18- - save_cache :
19- paths :
20- - node_modules
21- key : v1-dependencies-{{ checksum "package.json" }}
2218 - run : npm test
2319 - store_artifacts :
2420 path : ~/my_test_artifacts
You can’t perform that action at this time.
0 commit comments