File tree Expand file tree Collapse file tree 3 files changed +13
-14
lines changed
Expand file tree Collapse file tree 3 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,16 @@ name: Release CLI Core (v1 Beta)
22
33on :
44 workflow_dispatch :
5- push :
5+ workflow_run :
6+ workflows : ['Release CLI Platform Plugins (v1 Beta)']
7+ types :
8+ - completed
69 branches : [v1-beta]
7- paths :
8- - ' packages/contentstack/package.json'
910
1011jobs :
1112 build :
1213 runs-on : ubuntu-latest
14+ if : ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') }}
1315 steps :
1416 - uses : actions/checkout@v4
1517 - uses : pnpm/action-setup@v4
@@ -28,22 +30,19 @@ jobs:
2830 - name : Clean the repository
2931 run : pnpm run clean:all
3032
33+ - name : Install root dependencies
34+ run : pnpm install --frozen-lockfile
35+
36+ - name : Build all packages
37+ run : pnpm -r --sort run build
38+
3139 - name : Reading Configuration
3240 id : release_config
3341 uses : rgarcia-phi/json-to-variables@v1.1.0
3442 with :
3543 filename : .github/config/release.json
3644 prefix : release
3745
38- # Core CLI
39- - name : Install all dependencies
40- id : core-installation
41- if : ${{env.release_releaseAll == 'true' || env.release_plugins_core == 'true'}}
42- run : pnpm install --frozen-lockfile
43-
44- - name : Build all packages
45- run : pnpm -r --concurrency 1 run build
46-
4746 - name : Publishing core (Beta)
4847 id : publish-core
4948 uses : JS-DevTools/npm-publish@v3
Original file line number Diff line number Diff line change 2626 # run: mv packages/contentstack/package.json packages/contentstack/package.json.disabled || true
2727
2828 - name : Install Dependencies (Excluding Contentstack)
29- run : pnpm install --frozen-lockfile
29+ run : pnpm install --no- frozen-lockfile
3030
3131 - name : Build all plugins (Excluding Contentstack)
3232 run : |
Original file line number Diff line number Diff line change 11{
22 "name" : " @contentstack/cli" ,
33 "description" : " Command-line tool (CLI) to interact with Contentstack v1-beta" ,
4- "version" : " 1.60.0-beta.5 " ,
4+ "version" : " 1.60.0-beta.6 " ,
55 "author" : " Contentstack" ,
66 "bin" : {
77 "csdx" : " ./bin/run.js"
You can’t perform that action at this time.
0 commit comments