mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
ci: freeze bun lockfile and widen typescript path filter
Prevents silent bun.lock drift across CI runs (root cause of the nightly fabro-spa staleness failure) and re-runs typescript.yml when nightly.yml itself changes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
b8d93603f8
commit
c8b807f303
2 changed files with 6 additions and 4 deletions
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
|
|
@ -49,7 +49,7 @@ jobs:
|
|||
|
||||
- name: Install bun deps (for SPA verify)
|
||||
if: steps.skip.outputs.skip != 'true'
|
||||
run: bun install
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Set up Rust
|
||||
if: steps.skip.outputs.skip != 'true'
|
||||
|
|
|
|||
8
.github/workflows/typescript.yml
vendored
8
.github/workflows/typescript.yml
vendored
|
|
@ -12,6 +12,7 @@ on:
|
|||
- ".gitattributes"
|
||||
- "scripts/**"
|
||||
- ".github/workflows/typescript.yml"
|
||||
- ".github/workflows/nightly.yml"
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
|
|
@ -23,6 +24,7 @@ on:
|
|||
- ".gitattributes"
|
||||
- "scripts/**"
|
||||
- ".github/workflows/typescript.yml"
|
||||
- ".github/workflows/nightly.yml"
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
|
|
@ -42,7 +44,7 @@ jobs:
|
|||
with:
|
||||
persist-credentials: false
|
||||
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
|
||||
- run: bun install
|
||||
- run: bun install --frozen-lockfile
|
||||
- run: cd apps/fabro-web && bun run typecheck
|
||||
|
||||
test:
|
||||
|
|
@ -55,7 +57,7 @@ jobs:
|
|||
with:
|
||||
persist-credentials: false
|
||||
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
|
||||
- run: bun install
|
||||
- run: bun install --frozen-lockfile
|
||||
- run: cd apps/fabro-web && bun test
|
||||
|
||||
build:
|
||||
|
|
@ -68,7 +70,7 @@ jobs:
|
|||
with:
|
||||
persist-credentials: false
|
||||
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
|
||||
- run: bun install
|
||||
- run: bun install --frozen-lockfile
|
||||
- run: scripts/refresh-fabro-spa.sh
|
||||
- run: git diff --exit-code -- lib/crates/fabro-spa/assets
|
||||
- run: scripts/check-fabro-spa-budgets.sh
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue