diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dbadd3999d..3a042f37b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -133,8 +133,6 @@ jobs: test-c4p-wc-modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }} - name: Install run: yarn - - name: Install browsers - run: yarn playwright install --with-deps - name: CI tests for products web components run: yarn ci-check:test:c4p-wc diff --git a/package.json b/package.json index e8b96a9300..8a1df7a5cb 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "test:c4p:snapshot": "yarn test:c4p-styles styles -u", "test:c4p-styles": "lerna run --stream --scope @carbon/ibm-products-styles test --", "test:community": "lerna run --stream --scope @carbon/ibm-products-community test --", - "test:c4p-wc": "lerna run --stream --scope @carbon/ibm-products-web-components test --", + "test:c4p-wc": "yarn playwright install && lerna run --stream --scope @carbon/ibm-products-web-components test --", "spellcheck": "cspell '**' -e './examples' --gitignore --quiet --no-must-find-files", "storybook": "yarn storybook:start", "storybook:build": "run-s -s 'storybook:build:*'",