mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
31 lines
600 B
YAML
31 lines
600 B
YAML
name: Preview
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "apps/cli/**"
|
|
- "package.json"
|
|
- "bun.lock"
|
|
|
|
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
jobs:
|
|
preview:
|
|
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: Publish Preview Package
|
|
run: bunx pkg-pr-new publish './apps/cli' --bin
|