Skip to content

v1.0.7

v1.0.7 #12

Workflow file for this run

name: Tests + Publish
on:
release:
types: [created]
jobs:
test:
runs-on: ubuntu-latest
container:
image: oven/bun:latest
steps:
- uses: actions/checkout@v4
- run: bun install
- run: bun test
publish:
runs-on: ubuntu-latest
needs: test
container:
image: oven/bun:latest
steps:
- uses: actions/checkout@v4
with:
registry-url: "https://registry.npmjs.org"
- run: bun install
- run: bun run build
- run: bunx --bun npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}