Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
~/.cache/ms-playwright
~/Library/Caches/ms-playwright
%USERPROFILE%\AppData\Local\ms-playwright
**/node_modules/playwright
key: cache-playwright-binaries-${{ hashFiles('yarn.lock') }}

- name: Configure Datadog Test Optimization
Expand All @@ -91,9 +92,14 @@ jobs:

- run: yarn install

- name: Install playwright
- name: Install Playwright with dependencies
if: steps.cache-playwright-binaries.outputs.cache-hit != 'true'
run: yarn workspace @dd/tests playwright install --with-deps

- name: Install Playwright's dependencies
if: steps.cache-playwright-binaries.outputs.cache-hit == 'true'
run: yarn workspace @dd/tests playwright install-deps

- name: Build all plugins
if: steps.cache-build.outputs.cache-hit != 'true'
run: yarn build:all-no-types
Expand All @@ -111,6 +117,7 @@ jobs:
~/.cache/ms-playwright
~/Library/Caches/ms-playwright
%USERPROFILE%\AppData\Local\ms-playwright
**/node_modules/playwright
key: cache-playwright-binaries-${{ hashFiles('yarn.lock') }}

- uses: actions/upload-artifact@v4
Expand Down