|
68 | 68 | package: ./packages/contentstack-utilities/package.json |
69 | 69 | tag: beta |
70 | 70 |
|
71 | | - # Variants |
72 | | - - name: Installing dependencies of variants |
73 | | - id: variants-installation |
74 | | - if: ${{env.release_releaseAll == 'true' || env.release_plugins_utilities == 'true'}} |
75 | | - working-directory: ./packages/contentstack-variants |
76 | | - run: npm install |
77 | | - - name: Compiling variants |
78 | | - if: ${{ steps.variants-installation.conclusion == 'success' }} |
79 | | - working-directory: ./packages/contentstack-variants |
80 | | - run: npm run prepack |
81 | | - - name: Publishing variants (Beta) |
82 | | - uses: JS-DevTools/npm-publish@v3 |
83 | | - if: ${{ steps.variants-installation.conclusion == 'success' }} |
84 | | - with: |
85 | | - token: ${{ secrets.NPM_TOKEN }} |
86 | | - package: ./packages/contentstack-variants/package.json |
87 | | - access: public |
88 | | - tag: beta |
89 | | - |
90 | 71 | # Command |
91 | 72 | - name: Installing dependencies of command |
92 | 73 | id: command-installation |
@@ -141,181 +122,6 @@ jobs: |
141 | 122 | package: ./packages/contentstack-auth/package.json |
142 | 123 | tag: beta |
143 | 124 |
|
144 | | - # Export |
145 | | - - name: Installing dependencies of export |
146 | | - id: export-installation |
147 | | - if: ${{ env.release_releaseAll == 'true' || env.release_plugins_export == 'true'}} |
148 | | - working-directory: ./packages/contentstack-export |
149 | | - run: npm install |
150 | | - - name: Compiling export |
151 | | - if: ${{ steps.export-installation.conclusion == 'success' }} |
152 | | - working-directory: ./packages/contentstack-export |
153 | | - run: npm run prepack |
154 | | - - name: Publishing export (Beta) |
155 | | - uses: JS-DevTools/npm-publish@v3 |
156 | | - if: ${{ steps.export-installation.conclusion == 'success' }} |
157 | | - with: |
158 | | - token: ${{ secrets.NPM_TOKEN }} |
159 | | - package: ./packages/contentstack-export/package.json |
160 | | - tag: beta |
161 | | - |
162 | | - # Audit |
163 | | - - name: Installing dependencies of audit |
164 | | - id: audit-installation |
165 | | - if: ${{env.release_releaseAll == 'true' || env.release_plugins_audit == 'true'}} |
166 | | - working-directory: ./packages/contentstack-audit |
167 | | - run: npm install |
168 | | - - name: Compiling audit |
169 | | - if: ${{ steps.audit-installation.conclusion == 'success' }} |
170 | | - working-directory: ./packages/contentstack-audit |
171 | | - run: npm run prepack |
172 | | - - name: Publishing audit (Beta) |
173 | | - uses: JS-DevTools/npm-publish@v3 |
174 | | - if: ${{ steps.audit-installation.conclusion == 'success' }} |
175 | | - with: |
176 | | - token: ${{ secrets.NPM_TOKEN }} |
177 | | - package: ./packages/contentstack-audit/package.json |
178 | | - access: public |
179 | | - tag: beta |
180 | | - |
181 | | - # Import |
182 | | - - name: Installing dependencies of import |
183 | | - id: import-installation |
184 | | - if: ${{env.release_releaseAll == 'true' || env.release_plugins_import == 'true'}} |
185 | | - working-directory: ./packages/contentstack-import |
186 | | - run: npm install |
187 | | - - name: Compiling import |
188 | | - if: ${{ steps.import-installation.conclusion == 'success' }} |
189 | | - working-directory: ./packages/contentstack-import |
190 | | - run: npm run prepack |
191 | | - - name: Publishing import (Beta) |
192 | | - uses: JS-DevTools/npm-publish@v3 |
193 | | - if: ${{ steps.import-installation.conclusion == 'success' }} |
194 | | - with: |
195 | | - token: ${{ secrets.NPM_TOKEN }} |
196 | | - package: ./packages/contentstack-import/package.json |
197 | | - tag: beta |
198 | | - |
199 | | - # Clone |
200 | | - - name: Installing dependencies of clone |
201 | | - id: clone-installation |
202 | | - if: ${{env.release_releaseAll == 'true' || env.release_plugins_clone == 'true'}} |
203 | | - working-directory: ./packages/contentstack-clone |
204 | | - run: npm install |
205 | | - - name: Compiling Clone |
206 | | - if: ${{ steps.clone-installation.conclusion == 'success' }} |
207 | | - working-directory: ./packages/contentstack-clone |
208 | | - run: npm run prepack |
209 | | - - name: Publishing clone (Beta) |
210 | | - uses: JS-DevTools/npm-publish@v3 |
211 | | - if: ${{ steps.clone-installation.conclusion == 'success' }} |
212 | | - with: |
213 | | - token: ${{ secrets.NPM_TOKEN }} |
214 | | - package: ./packages/contentstack-clone/package.json |
215 | | - tag: beta |
216 | | - |
217 | | - # Import Setup |
218 | | - - name: Installing dependencies of import-setup |
219 | | - id: import-setup-installation |
220 | | - if: ${{env.release_releaseAll == 'true' || env.release_plugins_import_setup == 'true'}} |
221 | | - working-directory: ./packages/contentstack-import-setup |
222 | | - run: npm install |
223 | | - - name: Compiling import-setup |
224 | | - if: ${{ steps.import-setup-installation.conclusion == 'success' }} |
225 | | - working-directory: ./packages/contentstack-import-setup |
226 | | - run: npm run prepack |
227 | | - - name: Publishing import-setup (Beta) |
228 | | - uses: JS-DevTools/npm-publish@v3 |
229 | | - if: ${{ steps.import-setup-installation.conclusion == 'success' }} |
230 | | - with: |
231 | | - token: ${{ secrets.NPM_TOKEN }} |
232 | | - package: ./packages/contentstack-import-setup/package.json |
233 | | - access: public |
234 | | - tag: beta |
235 | | - |
236 | | - # Export to CSV |
237 | | - - name: Installing dependencies of export to csv |
238 | | - id: export-to-csv-installation |
239 | | - if: ${{env.release_releaseAll == 'true' || env.release_plugins_export-to-csv == 'true'}} |
240 | | - working-directory: ./packages/contentstack-export-to-csv |
241 | | - run: npm install |
242 | | - - name: Publishing export to csv (Beta) |
243 | | - uses: JS-DevTools/npm-publish@v3 |
244 | | - if: ${{ steps.export-to-csv-installation.conclusion == 'success' }} |
245 | | - with: |
246 | | - token: ${{ secrets.NPM_TOKEN }} |
247 | | - package: ./packages/contentstack-export-to-csv/package.json |
248 | | - tag: beta |
249 | | - |
250 | | - # Migration |
251 | | - - name: Installing dependencies of migration |
252 | | - id: migration-installation |
253 | | - if: ${{env.release_releaseAll == 'true' || env.release_plugins_migration == 'true'}} |
254 | | - working-directory: ./packages/contentstack-migration |
255 | | - run: npm install |
256 | | - - name: Publishing migration (Beta) |
257 | | - uses: JS-DevTools/npm-publish@v3 |
258 | | - if: ${{ steps.migration-installation.conclusion == 'success' }} |
259 | | - with: |
260 | | - token: ${{ secrets.NPM_TOKEN }} |
261 | | - package: ./packages/contentstack-migration/package.json |
262 | | - tag: beta |
263 | | - |
264 | | - # Seed |
265 | | - - name: Installing dependencies of seed |
266 | | - id: seed-installation |
267 | | - if: ${{env.release_releaseAll == 'true' || env.release_plugins_seed == 'true'}} |
268 | | - working-directory: ./packages/contentstack-seed |
269 | | - run: npm install |
270 | | - - name: Compiling seed |
271 | | - if: ${{ steps.seed-installation.conclusion == 'success' }} |
272 | | - working-directory: ./packages/contentstack-seed |
273 | | - run: npm run prepack |
274 | | - - name: Publishing seed (Beta) |
275 | | - uses: JS-DevTools/npm-publish@v3 |
276 | | - if: ${{ steps.seed-installation.conclusion == 'success' }} |
277 | | - with: |
278 | | - token: ${{ secrets.NPM_TOKEN }} |
279 | | - package: ./packages/contentstack-seed/package.json |
280 | | - tag: beta |
281 | | - |
282 | | - # Bootstrap |
283 | | - - name: Installing dependencies of bootstrap |
284 | | - id: bootstrap-installation |
285 | | - if: ${{env.release_releaseAll == 'true' || env.release_plugins_bootstrap == 'true'}} |
286 | | - working-directory: ./packages/contentstack-bootstrap |
287 | | - run: npm install |
288 | | - - name: Compiling bootstrap |
289 | | - if: ${{ steps.bootstrap-installation.conclusion == 'success' }} |
290 | | - working-directory: ./packages/contentstack-bootstrap |
291 | | - run: npm run prepack |
292 | | - - name: Publishing bootstrap (Beta) |
293 | | - uses: JS-DevTools/npm-publish@v3 |
294 | | - if: ${{ steps.bootstrap-installation.conclusion == 'success' }} |
295 | | - with: |
296 | | - token: ${{ secrets.NPM_TOKEN }} |
297 | | - package: ./packages/contentstack-bootstrap/package.json |
298 | | - tag: beta |
299 | | - |
300 | | - # Branches |
301 | | - - name: Installing dependencies of branches |
302 | | - id: branches-installation |
303 | | - if: ${{env.release_releaseAll == 'true' || env.release_plugins_branches == 'true'}} |
304 | | - working-directory: ./packages/contentstack-branches |
305 | | - run: npm install |
306 | | - - name: Compiling branches |
307 | | - if: ${{ steps.branches-installation.conclusion == 'success' }} |
308 | | - working-directory: ./packages/contentstack-branches |
309 | | - run: npm run prepack |
310 | | - - name: Publishing branches (Beta) |
311 | | - uses: JS-DevTools/npm-publish@v3 |
312 | | - if: ${{ steps.branches-installation.conclusion == 'success' }} |
313 | | - with: |
314 | | - token: ${{ secrets.NPM_TOKEN }} |
315 | | - package: ./packages/contentstack-branches/package.json |
316 | | - access: public |
317 | | - tag: beta |
318 | | - |
319 | 125 | - name: Create Platform Plugins Beta Release |
320 | 126 | # Adjust the ID below to match your actual publishing step ID for plugins |
321 | 127 | if: ${{ steps.publish-plugins.conclusion == 'success' }} |
|
0 commit comments