kunkun/.github/workflows/jsr-publish.yml
Huakun Shen 46d6872614
refactor: Command class rename (#90)
* refactor: rename WorkerExtension to TemplateUiCommand, HeadlessWorkerExtension to HeadlessCommand

* ci: update npm publish workflow to include refactor branch

* ci: add push trigger for JSR publish workflow and bump API package version

* ci: add pnpm setup to npm publish workflow

* chore: add repository field to package.json for @kksh/api
2025-02-05 12:16:33 -05:00

27 lines
511 B
YAML

name: JSR Publish
on:
push:
branches: [develop, main]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
with:
submodules: "true"
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: Publish package
working-directory: ./packages/api
run: |
deno install
npx jsr publish --allow-slow-types