From 5f4997d354ae1e261b73648d155f08902900eae7 Mon Sep 17 00:00:00 2001 From: raj pandey Date: Tue, 29 Aug 2023 19:14:22 +0530 Subject: [PATCH 1/2] Fixed Release Workflow --- .github/workflows/release.yml | 2 +- package-lock.json | 2 +- packages/contentstack/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1e45cf7549..9eba725091 100755 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: - uses: pnpm/action-setup@v2.2.4 with: version: 7 - - uses: actions/setup-node@v3.7.0 + - uses: actions/setup-node@v1 with: node-version: '18.x' cache: 'pnpm' diff --git a/package-lock.json b/package-lock.json index 4eb63ff6ff..a1ecc18b1a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20298,7 +20298,7 @@ }, "packages/contentstack": { "name": "@contentstack/cli", - "version": "1.8.2", + "version": "1.8.3", "license": "MIT", "dependencies": { "@contentstack/cli-auth": "~1.3.12", diff --git a/packages/contentstack/package.json b/packages/contentstack/package.json index 14e61aab08..397f8d18b3 100755 --- a/packages/contentstack/package.json +++ b/packages/contentstack/package.json @@ -1,7 +1,7 @@ { "name": "@contentstack/cli", "description": "Command-line tool (CLI) to interact with Contentstack", - "version": "1.8.2", + "version": "1.8.3", "author": "Contentstack", "bin": { "csdx": "./bin/run" From 4c1acf2fd5ca9b8eff43e4547b7d6d73ef981c63 Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Tue, 29 Aug 2023 20:24:53 +0530 Subject: [PATCH 2/2] fix: added compile phase for core module --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9eba725091..5fb673798b 100755 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -249,6 +249,10 @@ jobs: if: ${{env.release_releaseAll == 'true' || env.release_plugins_core == 'true'}} working-directory: ./packages/contentstack run: npm install + - name: Compiling core + if: ${{ steps.core-installation.conclusion == 'success' }} + working-directory: ./packages/contentstack + run: npm run prepack - name: Publishing core id: publish-core uses: JS-DevTools/npm-publish@v2.2.1