mirror of
https://github.com/kunkunsh/kunkun-ext-jwt.git
synced 2025-04-03 18:36:42 +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
|
- name: Build
|
||||||
run: bun run build
|
run: bun run build
|
||||||
- name: Publish package
|
- 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 install
|
||||||
- run: bun run build
|
- run: bun run build
|
||||||
- run: |
|
- run: |
|
||||||
|
bunx kksh@latest verify --publish
|
||||||
PACKAGE_NAME=$(jq -r '.name' package.json)
|
PACKAGE_NAME=$(jq -r '.name' package.json)
|
||||||
PACKAGE_VERSION=$(jq -r '.version' package.json)
|
PACKAGE_VERSION=$(jq -r '.version' package.json)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user