27 lines
459 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
with:
bun-version: latest
- name: Publish package
run: |
bun install
bun run build
bunx kksh verify --publish
bunx jsr publish --allow-slow-types