Skip to content

Try to build

Try to build #30

Workflow file for this run

name: Publish package to NPM
on:
push:
branches:
- master
jobs:
publish-package:
runs-on: ubuntu:latest
environment: publish
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install
uses: oven-sh/setup-bun@v2
run: bun install
- name: Run build
run: bun run build
- name: Run tests
run: bun run test
- name: Semantic release
uses: cycjimmy/semantic-release-action@v3
with:
semantic_version: 19.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}