mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-06 02:48:25 +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)
|
- name: Install bun deps (for SPA verify)
|
||||||
if: steps.skip.outputs.skip != 'true'
|
if: steps.skip.outputs.skip != 'true'
|
||||||
run: bun install
|
run: bun install --frozen-lockfile
|
||||||
|
|
||||||
- name: Set up Rust
|
- name: Set up Rust
|
||||||
if: steps.skip.outputs.skip != 'true'
|
if: steps.skip.outputs.skip != 'true'
|
||||||
|
|
|
||||||
8
.github/workflows/typescript.yml
vendored
8
.github/workflows/typescript.yml
vendored
|
|
@ -12,6 +12,7 @@ on:
|
||||||
- ".gitattributes"
|
- ".gitattributes"
|
||||||
- "scripts/**"
|
- "scripts/**"
|
||||||
- ".github/workflows/typescript.yml"
|
- ".github/workflows/typescript.yml"
|
||||||
|
- ".github/workflows/nightly.yml"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
paths:
|
paths:
|
||||||
|
|
@ -23,6 +24,7 @@ on:
|
||||||
- ".gitattributes"
|
- ".gitattributes"
|
||||||
- "scripts/**"
|
- "scripts/**"
|
||||||
- ".github/workflows/typescript.yml"
|
- ".github/workflows/typescript.yml"
|
||||||
|
- ".github/workflows/nightly.yml"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
|
|
@ -42,7 +44,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
|
- 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
|
- run: cd apps/fabro-web && bun run typecheck
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
|
@ -55,7 +57,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
|
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
|
||||||
- run: bun install
|
- run: bun install --frozen-lockfile
|
||||||
- run: cd apps/fabro-web && bun test
|
- run: cd apps/fabro-web && bun test
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|
@ -68,7 +70,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
|
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
|
||||||
- run: bun install
|
- run: bun install --frozen-lockfile
|
||||||
- run: scripts/refresh-fabro-spa.sh
|
- run: scripts/refresh-fabro-spa.sh
|
||||||
- run: git diff --exit-code -- lib/crates/fabro-spa/assets
|
- run: git diff --exit-code -- lib/crates/fabro-spa/assets
|
||||||
- run: scripts/check-fabro-spa-budgets.sh
|
- run: scripts/check-fabro-spa-budgets.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue