Skip to content

Merge pull request #226 from tscircuit/update-dep #256

Merge pull request #226 from tscircuit/update-dep

Merge pull request #226 from tscircuit/update-dep #256

Workflow file for this run

name: Release Workflow
on:
push:
branches:
- main
jobs:
build_and_release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install project dependencies
run: |
bun install
# Undo changes to the lockfile that might block release
# when this project is more mature use "bun install --frozen-lockfile"
git checkout -- bun.lockb
- name: Build project
run: bun run build
- name: Run pver release
run: npx pver release --npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}