Skip to content

ci: npm publish

ci: npm publish #5

Workflow file for this run

name: 🚀 Publish Package to npmjs
on:
workflow_call:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- run: bun install
- run: bun run build
- run: npm publish --verbose --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}