Skip to content

fix(deps): update dependency @tscircuit/eval-webworker to ^0.0.69 (#158) #147

fix(deps): update dependency @tscircuit/eval-webworker to ^0.0.69 (#158)

fix(deps): update dependency @tscircuit/eval-webworker to ^0.0.69 (#158) #147

# Created using @tscircuit/plop (npm install -g @tscircuit/plop)
name: Publish to npm
on:
push:
branches:
- main
paths:
- "lib/**"
- "package.json"
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Configure Git
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- run: npm install -g pver
- run: bun install --frozen-lockfile
- run: bun run build
- name: Commit generated files
run: |
git add -A
git diff --staged --quiet || git commit -m "chore: update generated files"
- run: pver release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}