File tree 1 file changed +3
-37
lines changed
1 file changed +3
-37
lines changed Original file line number Diff line number Diff line change @@ -18,51 +18,17 @@ jobs:
18
18
paths :
19
19
- node_modules
20
20
key : v1-dependencies-{{ checksum "package.json" }}
21
+ - run : npm run lint
21
22
- run : npm test
22
- - run : echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
23
23
- persist_to_workspace :
24
24
root : ~/project
25
25
paths :
26
26
- dist/
27
27
- .npmrc
28
28
- node_modules/
29
- deploy :
30
- << : *defaults
31
- steps :
32
- - checkout
33
- - attach_workspace :
34
- at : ~/project
35
- - run : npm publish
36
-
37
- deploy-beta :
38
- << : *defaults
39
- steps :
40
- - checkout
41
- - attach_workspace :
42
- at : ~/project
43
- - run : npm publish --tag beta
44
29
45
30
workflows :
46
31
version : 2
47
- build-deploy :
32
+ build- :
48
33
jobs :
49
- - build :
50
- filters :
51
- tags :
52
- only : /.*/
53
- - deploy :
54
- requires :
55
- - build
56
- filters :
57
- tags :
58
- only : /release-[0-9]+\.[0-9]+\.[0-9]+/
59
- branches :
60
- ignore : /.*/
61
- - deploy-beta :
62
- requires :
63
- - build
64
- filters :
65
- tags :
66
- only : /beta-[0-9]+\.[0-9]+\.[0-9]+(-rc[0-9]+)?/
67
- branches :
68
- ignore : /.*/
34
+ - build
You can’t perform that action at this time.
0 commit comments