mirror of
https://github.com/kunkunsh/kunkun-ext-download-twitter-video.git
synced 2025-04-03 18:56:43 +00:00
chore: update npm publish workflow and bump version to 0.0.11
This commit is contained in:
parent
600b7e8810
commit
4d8fe4f8c9
17
.github/workflows/npm-publish.yml
vendored
17
.github/workflows/npm-publish.yml
vendored
@ -11,18 +11,7 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
- name: Test
|
||||
run: |
|
||||
bun install
|
||||
bun test --coverage
|
||||
|
||||
publish-npm:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
@ -33,6 +22,12 @@ jobs:
|
||||
with:
|
||||
node-version: 22
|
||||
registry-url: https://registry.npmjs.org/
|
||||
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: latest
|
||||
- run: pnpm install
|
||||
- run: pnpm build
|
||||
- run: |
|
||||
PACKAGE_NAME=$(jq -r '.name' package.json)
|
||||
PACKAGE_VERSION=$(jq -r '.version' package.json)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://schema.kunkun.sh",
|
||||
"name": "kunkun-ext-down-x-video",
|
||||
"version": "0.0.10",
|
||||
"version": "0.0.11",
|
||||
"type": "module",
|
||||
"repository": "https://github.com/kunkunsh/kunkun-ext-download-twitter-video",
|
||||
"kunkun": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user