File tree Expand file tree Collapse file tree 1 file changed +109
-0
lines changed Expand file tree Collapse file tree 1 file changed +109
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2.1
2+ orbs :
3+ codecov : codecov/codecov@5
4+ jobs :
5+ verify :
6+ docker :
7+ - image : cimg/node:20.12.2
8+ working_directory : ~/repo
9+ resource_class : large
10+ steps :
11+ - checkout
12+ - run :
13+ name : set GIT name and email
14+ command : |
15+ git config --global -l
16+ git config --global user.email "$GIT_COMMITTER_EMAIL"
17+ git config --global user.name "$GIT_COMMITTER_NAME"
18+ git config --global -l
19+ - restore_cache :
20+ keys :
21+ # when lock file changes, use increasingly general patterns to restore cache
22+ - strapi-plugin-table-field-1746548904-{{ checksum "yarn.lock" }}
23+ - strapi-plugin-table-field-1746548904
24+ - run :
25+ name : Echo versions
26+ command : |
27+ node --version
28+ yarn --version
29+ - run :
30+ name : Configure NPM
31+ command : |
32+ echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
33+ - run :
34+ name : Install
35+ command : |
36+ yarn install
37+ - run :
38+ name : Verify
39+ command : |
40+ yarn verify
41+ - save_cache :
42+ paths :
43+ - ./node_modules
44+ key : strapi-plugin-table-field-1746548904-{{ checksum "yarn.lock" }}
45+ - persist_to_workspace :
46+ root : ~/repo
47+ paths : .
48+ deploy :
49+ docker :
50+ - image : cimg/node:20.12.2
51+ working_directory : ~/repo
52+ resource_class : large
53+ steps :
54+ - attach_workspace :
55+ at : ~/repo
56+ - run :
57+ name : Configure NPM
58+ command : |
59+ echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
60+ - run :
61+ name : Build
62+ command : |
63+ yarn build
64+ - run :
65+ name : Publish package
66+ command : npm publish --tag latest
67+ deployBeta :
68+ docker :
69+ - image : cimg/node:20.12.2
70+ working_directory : ~/repo
71+ resource_class : large
72+ steps :
73+ - attach_workspace :
74+ at : ~/repo
75+ - run :
76+ name : Configure NPM
77+ command : |
78+ echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
79+ - run :
80+ name : Build
81+ command : |
82+ yarn build
83+ - run :
84+ name : Publish package
85+ command : npm publish --tag beta
86+ workflows :
87+ version : 2
88+ verify-deploy :
89+ jobs :
90+ - verify :
91+ filters :
92+ tags :
93+ only : /^v.*/
94+ - deploy :
95+ requires :
96+ - verify
97+ filters :
98+ tags :
99+ only : /^v\d+\.\d+\.\d+$/
100+ branches :
101+ ignore : /.*/
102+ - deployBeta :
103+ requires :
104+ - verify
105+ filters :
106+ tags :
107+ only : /^v.*-beta\.\d+$/
108+ branches :
109+ ignore : /.*/
You can’t perform that action at this time.
0 commit comments