Skip to content

Commit 872fc68

Browse files
authored
chore: save build artifacts when releasing
1 parent 14e118b commit 872fc68

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/publish-npm-prompt.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,15 @@ jobs:
7171
- name: Build Library
7272
run: pnpm build
7373

74+
- name: Archive build artifacts
75+
uses: actions/upload-artifact@v3
76+
with:
77+
name: dist folders
78+
path: |
79+
lib/dist
80+
demo/dist
81+
retention-days: 5
82+
7483
- name: Lerna Version (latest) 🏷️
7584
if: ${{ contains(inputs.tag, 'latest') }}
7685
env:
@@ -109,4 +118,4 @@ jobs:
109118
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
110119
NPM_CONFIG_PROVENANCE: true
111120
run: |
112-
pnpm run ci:publish --otp ${{ steps.wait-for-secrets.outputs.OTP }}
121+
pnpm run ci:publish --otp ${{ steps.wait-for-secrets.outputs.OTP }}

0 commit comments

Comments
 (0)