Skip to content

Commit 3bd237c

Browse files
authored
ci: update build task to exclude examples (#6458)
1 parent 52fff13 commit 3bd237c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
- name: Install dependencies
122122
run: npm ci
123123
- name: Build
124-
run: npm run build
124+
run: npx turbo build
125125

126126
build-components-json:
127127
runs-on: ubuntu-latest

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"scripts": {
1010
"setup": "./script/setup",
11-
"build": "turbo build",
11+
"build": "turbo build --filter='!./examples/*'",
1212
"clean": "npm run clean --workspaces --if-present",
1313
"clean:all": "npm run clean && rimraf node_modules packages/*/node_modules examples/*/node_modules",
1414
"format": "prettier --cache --write '**/*.{js,css,md,mdx,ts,tsx,yml}'",

0 commit comments

Comments
 (0)