Skip to content

Commit 4052721

Browse files
committed
chore: update gh action
1 parent 84e1ed9 commit 4052721

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/deploy-test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ jobs:
3030
run: |
3131
npm ci
3232
npm run release
33+
34+
# Check if release was successful (dist directory exists)
35+
if [ ! -d "dist/" ]; then
36+
echo "Release did not create dist directory, running build..."
37+
npm run build
38+
fi
3339
env:
3440
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3541
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)