File tree Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Original file line number Diff line number Diff line change 11version : 2.1
22
3- deploy_filters : &deploy_filters
4- filters :
5- branches :
6- ignore : /.*/
7- tags :
8- # Trigger on tags that begin with `v`
9- only : /^v.*/
10-
11-
123executors :
134 node :
145 docker :
156 - image : circleci/node:14
167
17-
188commands :
199 save_yarn_cache :
2010 description : Save cache for future build
5343 name : Run unit tests
5444 command : yarn test
5545
56- deploy :
57- executor : node
58- steps :
59- - checkout
60- - restore_yarn_cache
61- - run :
62- name : Install dependencies and build
63- command : yarn install --frozen-lockfile
64- - run :
65- name : Configure NPM authentication
66- command : npm config set "//registry.npmjs.org/:_authToken" "$NPM_AUTOMATION_TOKEN"
67- - run :
68- name : Publish package
69- command : yarn release:publish
70-
7146workflows :
7247 build_and_test :
7348 jobs :
7449 - build
75- build_and_test_and_deploy :
76- jobs :
77- - build :
78- << : *deploy_filters
79- - deploy :
80- << : *deploy_filters
81- requires :
82- - build
You can’t perform that action at this time.
0 commit comments