Skip to content

Generated

Generated #397

Workflow file for this run

name: Build
on:
push:
branches:
- main
- release/**
pull_request:
jobs:
build:
runs-on: ubuntu-latest
name: Build
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
id: cache
with:
path: node_modules
key: node-modules-${{ hashFiles('bun.lock') }}
- if: steps.cache.outputs.cache-hit != 'true'
run: bun install --frozen-lockfile
- run: bun run build
- run: npm pack
- name: Upload build artifacts
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: npm-package
path: "*.tgz"