Skip to content

Commit 46ae4b5

Browse files
Brian M Huntclaude
authored andcommitted
Fix Makefile targets, use frozen lockfile in CI
- Add bun install recipe to node_modules target (was missing) - Use bun install --frozen-lockfile in all CI workflows - Don't delete committed bun.lock in make clean Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f942929 commit 46ae4b5

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/lint-and-typecheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: oven-sh/setup-bun@v2
1818

1919
- name: Install dependencies
20-
run: bun install
20+
run: bun install --frozen-lockfile
2121

2222
- name: Check Prettier
2323
run: make format

.github/workflows/main-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: oven-sh/setup-bun@v2
2424

2525
- name: Install dependencies
26-
run: bun install
26+
run: bun install --frozen-lockfile
2727

2828
- name: Run Build
2929
run: make

.github/workflows/publish-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
node-version: 24.x
2424

2525
- name: Install dependencies
26-
run: bun install
26+
run: bun install --frozen-lockfile
2727

2828
- name: Build all packages
2929
run: make

.github/workflows/test-headless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: oven-sh/setup-bun@v2
2323

2424
- name: Install dependencies
25-
run: bun install
25+
run: bun install --frozen-lockfile
2626

2727
- name: Run Build
2828
run: make

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ default: all
1313

1414
package.json:
1515

16-
node_modules: bun.lock
16+
node_modules: package.json bun.lock packages/*/package.json
17+
bun install
1718

18-
all:: node_modules bun.lock
19+
all:: node_modules
1920
$(LERNA) --concurrency $(CONCURRENCY) exec --stream -- $(MAKE)
2021

2122
test test-headless:
@@ -83,7 +84,6 @@ sweep:
8384

8485
clean: sweep
8586
rm -rf node_modules/
86-
rm -f bun.lock
8787

8888

8989
# Local linking of these packages, so they

0 commit comments

Comments
 (0)