mirror of
https://github.com/kunkunsh/kunkun-ext-jwt.git
synced 2025-04-02 01:46:43 +00:00
ci: enhance publishing workflows by adding verification step
This commit is contained in:
parent
8fb4155f34
commit
25ed8878f8
4
.github/workflows/jsr-publish.yml
vendored
4
.github/workflows/jsr-publish.yml
vendored
@ -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
|
||||
|
1
.github/workflows/npm-publish.yml
vendored
1
.github/workflows/npm-publish.yml
vendored
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user