File tree Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish
2+ on :
3+ push :
4+ branches :
5+ - main
6+
7+ jobs :
8+ publish :
9+ runs-on : ubuntu-latest
10+
11+ permissions :
12+ contents : read
13+ id-token : write
14+
15+ steps :
16+ - uses : actions/checkout@v4
17+ - uses : oven-sh/setup-bun@v2
18+ - name : Setup Node.js
19+ uses : actions/setup-node@v4
20+ with :
21+ node-version : " 22"
22+ - uses : oven-sh/setup-bun@v2
23+ - run : |
24+ bun install
25+ bun run build
26+ - name : Publish package
27+ run : bunx jsr publish
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " @kunkun/kunkun-ext-youtube-downloader" ,
3+ "version" : " 0.1.0" ,
4+ "license" : " MIT" ,
5+ "exports" : " ./mod.ts" ,
6+ "imports" : {
7+ "@distube/yt-dlp" : " npm:@distube/yt-dlp@^2.0.1" ,
8+ "@distube/ytdl-core" : " npm:@distube/ytdl-core@^4.15.9" ,
9+ "@hk/photographer-toolbox" : " jsr:@hk/photographer-toolbox@^0.1.12" ,
10+ "@kunkun/api" : " jsr:@kunkun/api@^0.0.52" ,
11+ "@std/assert" : " jsr:@std/assert@1" ,
12+ "fluent-ffmpeg" : " npm:fluent-ffmpeg@^2.1.3"
13+ }
14+ }
You can’t perform that action at this time.
0 commit comments