File tree 1 file changed +0
-33
lines changed
1 file changed +0
-33
lines changed Original file line number Diff line number Diff line change 1
1
version : 2.1
2
2
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
-
12
3
executors :
13
4
node :
14
5
docker :
15
6
- image : circleci/node:14
16
7
17
-
18
8
commands :
19
9
save_yarn_cache :
20
10
description : Save cache for future build
53
43
name : Run unit tests
54
44
command : yarn test
55
45
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
-
71
46
workflows :
72
47
build_and_test :
73
48
jobs :
74
49
- 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