Skip to content

format

format #64

Workflow file for this run

name: Publish Package to npmjs
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: '17.x'
registry-url: 'https://registry.npmjs.org'
- run: bun install
- run: npm run package
- run: npm publish .
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}