ci: enhance publishing workflows by adding verification step

This commit is contained in:
Huakun Shen 2025-01-18 06:45:05 -05:00
parent 8fb4155f34
commit 25ed8878f8
No known key found for this signature in database
2 changed files with 4 additions and 1 deletions

View File

@ -20,4 +20,6 @@ jobs:
- name: Build
run: bun run build
- name: Publish package
run: npx jsr publish
run: |
bunx kksh@latest verify --publish
bunx jsr publish

View File

@ -26,6 +26,7 @@ jobs:
- run: bun install
- run: bun run build
- run: |
bunx kksh@latest verify --publish
PACKAGE_NAME=$(jq -r '.name' package.json)
PACKAGE_VERSION=$(jq -r '.version' package.json)