Skip to content

Commit

Permalink
ci: 🎡 npm publish CI WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
dkolba committed Aug 12, 2022
1 parent 3c76817 commit 95ff3ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/03-publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,17 +146,17 @@ jobs:
if: ${{ inputs.release == 'true' && env.DBUI_THEME == 'default' }}
run: npm publish --dry-run --workspace=@db-ui/${{ env.DBUI_WORKSPACE }}

- name: 📰 Publish experimental (NEXT) default Package to Registry
- name: 📰 Publish experimental (NEXT) default Package to Registry (dry run)
if: ${{ inputs.prerelease == 'true' && env.DBUI_THEME == 'default' }}
run: npm publish --tag next --workspace=@db-ui/${{ env.DBUI_WORKSPACE }}
run: npm publish --tag next --dry-run --workspace=@db-ui/${{ env.DBUI_WORKSPACE }}

- name: 📰 Publish stable (LATEST) enterprise Package to Registry (dry run)
if: ${{ inputs.release == 'true' && env.DBUI_THEME == 'enterprise' }}
run: npm publish --dry-run --workspace=@db-ui/${{ env.DBUI_WORKSPACE }}-${{ env.DBUI_THEME }}

- name: 📰 Publish experimental (NEXT) enterprise Package to Registry
- name: 📰 Publish experimental (NEXT) enterprise Package to Registry (dry run)
if: ${{ inputs.prerelease == 'true' && env.DBUI_THEME == 'enterprise' }}
run: npm publish --tag next --workspace=@db-ui/${{ env.DBUI_WORKSPACE }}-${{ env.DBUI_THEME }}
run: npm publish --tag next --dry-run --workspace=@db-ui/${{ env.DBUI_WORKSPACE }}-${{ env.DBUI_THEME }}

- name: Pack tarball default
if: ${{ env.DBUI_THEME == 'default' }}
Expand Down

0 comments on commit 95ff3ab

Please sign in to comment.