diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 962a304c9b..2c4c326084 100755 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -102,6 +102,10 @@ jobs: if: ${{ env.release_releaseAll == 'true' || env.release_plugins_export == 'true'}} working-directory: ./packages/contentstack-export run: npm install + - name: Compiling export + if: ${{ steps.export-installation.conclusion == 'success' }} + working-directory: ./packages/contentstack-export + run: npm run prepack - name: Publishing export uses: JS-DevTools/npm-publish@v1 if: ${{ steps.export-installation.conclusion == 'success' }} @@ -113,6 +117,10 @@ jobs: if: ${{env.release_releaseAll == 'true' || env.release_plugins_import == 'true'}} working-directory: ./packages/contentstack-import run: npm install + - name: Compiling import + if: ${{ steps.import-installation.conclusion == 'success' }} + working-directory: ./packages/contentstack-import + run: npm run prepack - name: Publishing import uses: JS-DevTools/npm-publish@v1 if: ${{ steps.import-installation.conclusion == 'success' }}