Skip to content

Update version

Update version #6

Workflow file for this run

name: Publish Package to NPM
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Install Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install Bun 1.1.7
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.7
- name: Install NPM Dependencies
run: bun install
- name: Run TypeScript type checking and ESLint
run: bun run check
- name: Build the Package
run: bun run build:lib
- name: Publish to NPM
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}