Files
create-better-t-stack/.github/workflows/publish.yaml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 14: cannot unmarshal !!str `${{ git...` into model.RawConcurrency
Aman Varshney 3be1953330 TEST
2025-05-31 00:36:23 +05:30

42 lines
865 B
YAML

name: Publish
on:
push:
branches:
- main
- beta
paths:
- 'apps/cli/**'
- '.changeset/**'
- 'package.json'
- 'bun.lock'
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install Dependencies
run: bun install --frozen-lockfile
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: bun run publish-packages
env:
MODE: 'prod'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}