Skip to content

Commit ef47aa3

Browse files
szintajlongshore
andauthored
fix(ci): remove unwanted package build steps from web component test step (#8639)
* ci: remove build step from wc test workflow * ci: build only wc package on wc test step * ci: show logs of wc test step * ci: build only wc package and its dependencies on wc test step --------- Co-authored-by: Jeff Longshore <[email protected]>
1 parent a6af0cb commit ef47aa3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ jobs:
144144
working-directory: packages/ibm-products-web-components
145145
run: yarn playwright install --with-deps
146146
- name: Build web-components project
147-
run: yarn build:packages
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 build --scope @carbon/ibm-products-web-components --include-dependencies --stream",
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)