Skip to content

Merge pull request #40 from markjaquith/changeset-release/main #103

Merge pull request #40 from markjaquith/changeset-release/main

Merge pull request #40 from markjaquith/changeset-release/main #103

Workflow file for this run

name: Publish
on:
push:
branches:
- 'main'
concurrency: ${{ github.workflow }}-${{ github.ref }}
env:
CLERK_SECRET_KEY: ${{ secrets.CLERK_SECRET_KEY }}
PUBLIC_CLERK_PUBLISHABLE_KEY: ${{ vars.PUBLIC_CLERK_PUBLISHABLE_KEY }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
- name: Install
run: bun i --frozen-lockfile
- name: build
run: bun run build
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: bun run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}