Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: remove unnecessary install-deps (#35471)

Max Schmitt2d65457db14e
diff --git a/.github/workflows/infra.yml b/.github/workflows/infra.yml
index de95a099b1..0a03f10f13 100644
--- a/.github/workflows/infra.yml
+++ b/.github/workflows/infra.yml
@@ -24,8 +24,7 @@ jobs:
node-version: 18
- run: npm ci
- run: npm run build
- - run: npx playwright install-deps
- - run: npx playwright install
+ - run: npx playwright install --with-deps
- run: npm run lint
- name: Verify clean tree
run: |
diff --git a/.github/workflows/publish_canary.yml b/.github/workflows/publish_canary.yml
index 60d7aa56db..4f2149fb86 100644
--- a/.github/workflows/publish_canary.yml
+++ b/.github/workflows/publish_canary.yml
@@ -28,7 +28,6 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- - run: npx playwright install-deps
- name: "@next: publish with commit timestamp (triggered manually)"
if: contains(github.ref, 'main') && github.event_name == 'workflow_dispatch'
run: |
diff --git a/.github/workflows/publish_release_docker.yml b/.github/workflows/publish_release_docker.yml
index 4c96de8f30..c9603bffcd 100644
--- a/.github/workflows/publish_release_docker.yml
+++ b/.github/workflows/publish_release_docker.yml
@@ -29,7 +29,6 @@ jobs:
platforms: arm64
- run: npm ci
- run: npm run build
- - run: npx playwright install-deps
- name: Azure Login
uses: azure/login@v2
with:
diff --git a/.github/workflows/publish_release_driver.yml b/.github/workflows/publish_release_driver.yml
index 1eaa4656a7..328deaf01c 100644
--- a/.github/workflows/publish_release_driver.yml
+++ b/.github/workflows/publish_release_driver.yml
@@ -24,7 +24,6 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- - run: npx playwright install-deps
- run: utils/build/build-playwright-driver.sh
- name: Azure Login
uses: azure/login@v2
diff --git a/.github/workflows/publish_release_npm.yml b/.github/workflows/publish_release_npm.yml
index bbef0c5c62..cab5e13596 100644
--- a/.github/workflows/publish_release_npm.yml
+++ b/.github/workflows/publish_release_npm.yml
@@ -23,7 +23,6 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- - run: npx playwright install-deps
- run: utils/publish_all_packages.sh --release-candidate
if: ${{ github.event.release.prerelease }}
env:
diff --git a/.github/workflows/tests_primary.yml b/.github/workflows/tests_primary.yml
index a065baa9a3..9f692e67bb 100644
--- a/.github/workflows/tests_primary.yml
+++ b/.github/workflows/tests_primary.yml
@@ -186,7 +186,7 @@ jobs:
run: node -e "const p = require('./package.json'); delete p.devDependencies['@playwright/test']; fs.writeFileSync('./package.json', JSON.stringify(p, null, 2));"
working-directory: ./playwright-vscode
- name: Build extension
- run: npm install && npm run build
+ run: npm ci && npm run build
working-directory: ./playwright-vscode
- name: Run extension tests
run: npm run test -- --workers=1
diff --git a/.github/workflows/tests_secondary.yml b/.github/workflows/tests_secondary.yml
index 649e524599..c01be04b96 100644
--- a/.github/workflows/tests_secondary.yml
+++ b/.github/workflows/tests_secondary.yml
@@ -295,7 +295,6 @@ jobs:
node-version: 18
- run: npm ci
- run: npm run build
- - run: npx playwright install-deps
- run: utils/build/build-playwright-driver.sh
test_channel_chromium: