Skip to content

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

devops(GHA): move build-driver to secondary workflow (#7522)

Max Schmittb6b96daa8815
diff --git a/.github/workflows/infra.yml b/.github/workflows/infra.yml
index 82dfe1214d..efd4448a73 100644
--- a/.github/workflows/infra.yml
+++ b/.github/workflows/infra.yml
@@ -30,17 +30,3 @@ jobs:
git diff
exit 1
fi
-
- build-playwright-driver:
- name: "build-playwright-driver"
- runs-on: ubuntu-20.04
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-node@v2
- with:
- node-version: 12
- - run: npm ci
- - run: npm run build
- - run: node lib/cli/cli install-deps
- - run: node utils/build/update_canary_version.js --today-date
- - run: utils/build/build-playwright-driver.sh
diff --git a/.github/workflows/tests_secondary.yml b/.github/workflows/tests_secondary.yml
index b4a8f5d259..a8b15cc2db 100644
--- a/.github/workflows/tests_secondary.yml
+++ b/.github/workflows/tests_secondary.yml
@@ -547,3 +547,17 @@ jobs:
with:
name: electron-linux-test-results
path: test-results
+
+ build-playwright-driver:
+ name: "build-playwright-driver"
+ runs-on: ubuntu-20.04
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-node@v2
+ with:
+ node-version: 12
+ - run: npm ci
+ - run: npm run build
+ - run: node lib/cli/cli install-deps
+ - run: node utils/build/update_canary_version.js --today-date
+ - run: utils/build/build-playwright-driver.sh