Skip to content

0.3.0: Slightly Loosen Types to Ease Usage #12

0.3.0: Slightly Loosen Types to Ease Usage

0.3.0: Slightly Loosen Types to Ease Usage #12

Workflow file for this run

name: Publish Package to NPM
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4 # npm is required for provenance support
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- uses: oven-sh/setup-bun@v1
- run: bun install --frozen-lockfile
# make sure this publish doesn’t break anything
- run: bun run test
- run: bun run build
- run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}