Files
create-better-t-stack/.github/workflows/canary.yaml
2025-08-15 14:48:53 +05:30

36 lines
880 B
YAML

name: Canary Release
on:
pull_request:
types: [opened, synchronize]
jobs:
canary:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install Dependencies
run: bun install --frozen-lockfile
- name: Build CLI
run: bun run build:cli
- name: Create Canary Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
BTS_TELEMETRY: 1
run: bun auto canary