File tree Expand file tree Collapse file tree 3 files changed +16397
-117189
lines changed Expand file tree Collapse file tree 3 files changed +16397
-117189
lines changed Original file line number Diff line number Diff line change 88 - checkout
99 - restore_cache :
1010 keys :
11- - v1-npm -deps-{{ checksum "package-lock.json " }}
12- - v1-npm -deps-
11+ - v1-yarn -deps-{{ checksum "yarn.lock " }}
12+ - v1-yarn -deps-
1313 - run :
1414 name : ' Install dependencies'
15- command : npm ci
15+ command : yarn install --ignore-optional --frozen-lockfile
1616 - save_cache :
17- key : v1-npm -deps-{{ checksum "package-lock.json " }}
17+ key : v1-yarn -deps-{{ checksum "yarn.lock " }}
1818 paths :
1919 - node_modules
2020 - persist_to_workspace :
3131 at : ~/repo
3232 - run :
3333 name : ' Tests'
34- command : npm run test:ci
34+ command : yarn run test:ci
3535 build-library :
3636 docker :
3737 - image : ' circleci/node:lts'
4242 at : ~/repo
4343 - run :
4444 name : ' Build library'
45- command : npm run build
45+ command : yarn run build
4646 - persist_to_workspace :
4747 root : ~/repo
4848 paths :
5757 at : ~/repo
5858 - run :
5959 name : ' Build Storybook'
60- command : npm run build:storybook
60+ command : yarn run build:storybook
6161 - persist_to_workspace :
6262 root : ~/repo
6363 paths :
7272 at : ~/repo
7373 - run :
7474 name : ' Deploy via Semantic Release'
75- command : npm run semantic-release || true
75+ command : yarn run semantic-release || true
7676 deploy-storybook :
7777 docker :
7878 - image : ' circleci/node:lts'
You can’t perform that action at this time.
0 commit comments