Skip to content

refactor

refactor #13

Workflow file for this run

name: Publish Package
on:
push:
tags:
- 'v*'
permissions:
id-token: write # Required for OIDC
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: "latest"
registry-url: "https://registry.npmjs.org/"
- uses: actions/setup-node@v6
with:
node-version: "24"
registry-url: "https://registry.npmjs.org/"
- name: Update npm
run: npm install -g npm@latest
- run: bun install --frozen-lockfile
- run: bun test
- run: npm publish