Skip to content

Commit 286b9f1

Browse files
authored
build: Add build:packages and build:legacy_packages scripts (#2664)
1 parent 46e880d commit 286b9f1

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

.github/workflows/CI.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,18 @@ env:
2929
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3030

3131
jobs:
32+
build:
33+
runs-on: ubuntu-latest-16
34+
steps:
35+
- name: Check out the code
36+
uses: actions/checkout@v4
37+
38+
- name: Setup & Install
39+
uses: ./.github/composite-actions/install
40+
41+
- name: Build Packages
42+
run: pnpm build:packages
43+
3244
lint:
3345
timeout-minutes: 15
3446
name: Lint Packages

.github/workflows/CI_legacy.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,19 @@ env:
3131
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3232

3333
jobs:
34+
build:
35+
runs-on: ubuntu-latest-16
36+
name: Build Packages
37+
steps:
38+
- name: Check out the code
39+
uses: actions/checkout@v4
40+
41+
- name: Setup & Install
42+
uses: ./.github/composite-actions/install
43+
44+
- name: Build Packages
45+
run: pnpm build:legacy_packages
46+
3447
lint:
3548
timeout-minutes: 15
3649
name: Lint Packages

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
"test:legacy": "turbo run test --filter=./legacy_packages/*",
1616
"e2e": "turbo run e2e --filter=./packages/*",
1717
"e2e:legacy": "turbo run e2e --filter=./legacy_packages/*",
18+
"build:packages": "turbo run build --filter=./packages/*",
19+
"build:legacy_packages": "turbo run build --filter=./legacy_packages/*",
1820
"build": "turbo run build --filter=./packages/* --filter=./legacy_packages/*",
1921
"bench": "turbo run bench",
2022
"typedoc": "turbo run typedoc",

0 commit comments

Comments
 (0)