File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,14 +13,18 @@ jobs:
1313 key : dependency-cache-{{ checksum "package.json" }}
1414 - run :
1515 name : Install dependencies
16- command : npm install
16+ command : npm ci
1717 - save_cache :
1818 key : dependency-cache-{{ checksum "package.json" }}
1919 paths :
2020 - ./node_modules
2121 - run :
2222 name : Build
2323 command : npm run build:dev
24+ - store_artifacts :
25+ path : packages
26+ destination : packages
27+
2428 test :
2529 working_directory : ~/nest
2630 docker :
3135 name : Restore node_modules cache
3236 key : dependency-cache-{{ checksum "package.json" }}
3337 - run :
34- name : Build (dev)
35- command : npm run build:dev
38+ name : Install dependencies
39+ command : npm ci
3640 - run :
3741 name : Test
3842 command : npm run test
4549 - restore_cache :
4650 name : Restore node_modules cache
4751 key : dependency-cache-{{ checksum "package.json" }}
52+ - run :
53+ name : Install dependencies
54+ command : npm ci
4855 - run :
4956 name : Lint
5057 command : npm run lint
You can’t perform that action at this time.
0 commit comments