Skip to content

Commit 00141b2

Browse files
authored
fix: add release tarball creation step in publish workflow (#15868)
1 parent 329a756 commit 00141b2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/publish-design-system.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,15 @@ jobs:
110110
111111
- name: Publish to npm
112112
run: npm publish --workspace @kestra-io/${{ inputs.package }} --access public
113+
114+
- name: Create release tarball
115+
run: npm pack --workspace @kestra-io/${{ inputs.package }} --pack-destination ui/packages/design-system
113116

114117
- name: Create GitHub Release
115118
working-directory: .
116119
env:
117120
GH_TOKEN: ${{ github.token }}
118121
run: |
119-
npm pack --workspace @kestra-io/${{ inputs.package }} --pack-destination ui/packages/design-system
120122
gh release create "${{ inputs.package }}/v${{ steps.version.outputs.value }}" \
121123
--title "@kestra-io/${{ inputs.package }} v${{ steps.version.outputs.value }}" \
122124
--notes "${{ inputs.package }} version ${{ steps.version.outputs.value }} published to npm.\n\n To install, run: \`npm install @kestra-io/${{ inputs.package }}@${{ steps.version.outputs.value }}\`" \

0 commit comments

Comments
 (0)