mirror of
https://github.com/kunkunsh/kunkun-ext-youtube-downloader.git
synced 2025-04-03 17:56:45 +00:00
28 lines
503 B
YAML
28 lines
503 B
YAML
name: Publish
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
contents: read
|
|
id-token: write
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: oven-sh/setup-bun@v2
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "22"
|
|
- uses: oven-sh/setup-bun@v2
|
|
- run: |
|
|
bun install
|
|
bun run build
|
|
- name: Publish package
|
|
run: bunx jsr publish
|