Skip to content

Commit 15ab8f1

Browse files
committed
chore(ci): refine build steps in release workflow
Update the release GitHub Actions workflow to build each package individually instead of running a monorepo-wide build. The main package is built first, followed by dependent packages in sequence. This change ensures that all packages are properly built and can help avoid issues related to incorrect build order or skipped builds in multi-package repositories.
1 parent 31cad9d commit 15ab8f1

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,14 @@ jobs:
2323
- name: Install Dependencies
2424
run: bun install --frozen-lockfile
2525

26-
- name: Build packages
27-
run: bun run build
26+
- name: Build main package
27+
run: cd packages/flipper && bun run build
28+
29+
- name: Build dependent packages
30+
run: |
31+
cd packages/flipper-cache && bun run build
32+
cd ../../packages/flipper-redis && bun run build
33+
cd ../../packages/flipper-sequelize && bun run build
2834
2935
- name: Create Release Pull Request or Publish to npm
3036
id: changesets

0 commit comments

Comments
 (0)