Skip to content

Commit 0cf0ae7

Browse files
committed
ci: build only wc package on wc test step
1 parent c4fbc3f commit 0cf0ae7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ jobs:
143143
- name: Install browsers
144144
working-directory: packages/ibm-products-web-components
145145
run: yarn playwright install --with-deps
146-
# - name: Build web-components project
147-
# run: yarn build:packages
146+
- name: Build web-components project
147+
run: yarn ci-check:test:c4p-wc:build
148148
- name: CI tests for products web components
149149
run: yarn ci-check:test:c4p-wc --coverage
150150
- name: Upload coverage reports to Codecov with GitHub Action

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"ci-check:tests": "run-p -s 'ci-check:test:*'",
2525
"ci-check:test:c4p": "yarn test:c4p --ci",
2626
"ci-check:test:c4p:snapshot": "yarn test:c4p:snapshot --ci",
27+
"ci-check:test:c4p-wc:build": "lerna run --stream --scope @carbon/ibm-products-web-components build",
2728
"ci-check:test:c4p-wc": "yarn test:c4p-wc",
2829
"ci-check:spellcheck": "yarn spellcheck",
2930
"clean": "run-p -s 'clean:*' && run-p -s 'clean:finally:*'",

0 commit comments

Comments
 (0)