Skip to content

v0.2.0

v0.2.0 #9

Workflow file for this run

name: Publish npm package
on:
release:
types: [published]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/[email protected]
with:
bun-version: latest
- run: bun install --frozen-lockfile
- run: bun test
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/[email protected]
with:
bun-version: latest
registry-url: https://registry.npmjs.org/
- run: bun install --frozen-lockfile
- run: bun add -g npm
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}