From c79b0a517a22a922d28cff375455444db00bc372 Mon Sep 17 00:00:00 2001 From: Matt Gallo Date: Mon, 7 Oct 2024 15:13:00 -0400 Subject: [PATCH] fix: install playwright browsers (#6179) --- .github/workflows/ci.yml | 2 -- package.json | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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:*'",