Skip to content

Commit 290087c

Browse files
authored
Merge pull request #1559 from contentstack/staging
Staging
2 parents e9bcf67 + 6f0fe7c commit 290087c

File tree

5 files changed

+154
-116
lines changed

5 files changed

+154
-116
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,22 @@ jobs:
5252
with:
5353
token: ${{ secrets.NPM_TOKEN }}
5454
package: ./packages/contentstack-utilities/package.json
55+
- name: Installing dependencies of variants
56+
id: variants-installation
57+
if: ${{env.release_releaseAll == 'true' || env.release_plugins_utilities == 'true'}}
58+
working-directory: ./packages/contentstack-variants
59+
run: npm install
60+
- name: Compiling variants
61+
if: ${{ steps.variants-installation.conclusion == 'success' }}
62+
working-directory: ./packages/contentstack-variants
63+
run: npm run prepack
64+
- name: Publishing variants
65+
uses: JS-DevTools/npm-publish@v2.2.1
66+
if: ${{ steps.variants-installation.conclusion == 'success' }}
67+
with:
68+
token: ${{ secrets.NPM_TOKEN }}
69+
package: ./packages/contentstack-variants/package.json
70+
access: public
5571
- name: Installing dependencies of command
5672
id: command-installation
5773
if: ${{env.release_releaseAll == 'true' || env.release_plugins_command == 'true'}}

0 commit comments

Comments
 (0)