29 lines
547 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
bunx kksh@latest verify --publish
- name: Publish package
run: bunx jsr publish