devops: do not download electron on non-electron workflows (#22232)
This commit is contained in:
parent
cea382015f
commit
44b63b042e
3
.github/workflows/infra.yml
vendored
3
.github/workflows/infra.yml
vendored
|
|
@ -10,6 +10,9 @@ on:
|
|||
- main
|
||||
- release-*
|
||||
|
||||
env:
|
||||
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
|
||||
|
||||
jobs:
|
||||
doc-and-lint:
|
||||
name: "docs & lint"
|
||||
|
|
|
|||
3
.github/workflows/publish_canary.yml
vendored
3
.github/workflows/publish_canary.yml
vendored
|
|
@ -8,6 +8,9 @@ on:
|
|||
branches:
|
||||
- release-*
|
||||
|
||||
env:
|
||||
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
|
||||
|
||||
jobs:
|
||||
publish-canary:
|
||||
name: "publish canary NPM & Publish canary Docker"
|
||||
|
|
|
|||
3
.github/workflows/publish_release_docker.yml
vendored
3
.github/workflows/publish_release_docker.yml
vendored
|
|
@ -11,6 +11,9 @@ on:
|
|||
release:
|
||||
types: [published]
|
||||
|
||||
env:
|
||||
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
|
||||
|
||||
jobs:
|
||||
publish-docker-release:
|
||||
name: "publish to DockerHub"
|
||||
|
|
|
|||
3
.github/workflows/publish_release_driver.yml
vendored
3
.github/workflows/publish_release_driver.yml
vendored
|
|
@ -4,6 +4,9 @@ on:
|
|||
release:
|
||||
types: [published]
|
||||
|
||||
env:
|
||||
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
|
||||
|
||||
jobs:
|
||||
publish-driver-release:
|
||||
name: "publish playwright driver to CDN"
|
||||
|
|
|
|||
7
.github/workflows/publish_release_npm.yml
vendored
7
.github/workflows/publish_release_npm.yml
vendored
|
|
@ -4,6 +4,9 @@ on:
|
|||
release:
|
||||
types: [published]
|
||||
|
||||
env:
|
||||
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
|
||||
|
||||
jobs:
|
||||
publish-npm-release:
|
||||
name: "publish to NPM"
|
||||
|
|
@ -20,10 +23,10 @@ jobs:
|
|||
- run: npm run build
|
||||
- run: npx playwright install-deps
|
||||
- run: utils/publish_all_packages.sh --release-candidate
|
||||
if: "github.event.release.prerelease"
|
||||
if: github.event.release.prerelease
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
- run: utils/publish_all_packages.sh --release
|
||||
if: "!github.event.release.prerelease"
|
||||
if: !github.event.release.prerelease
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@ on:
|
|||
repository_dispatch:
|
||||
types: [roll_into_pw]
|
||||
|
||||
env:
|
||||
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
|
||||
|
||||
jobs:
|
||||
roll:
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
|
|||
1
.github/workflows/tests_components.yml
vendored
1
.github/workflows/tests_components.yml
vendored
|
|
@ -15,6 +15,7 @@ on:
|
|||
|
||||
env:
|
||||
FORCE_COLOR: 1
|
||||
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
|
||||
|
||||
jobs:
|
||||
test_components:
|
||||
|
|
|
|||
1
.github/workflows/tests_primary.yml
vendored
1
.github/workflows/tests_primary.yml
vendored
|
|
@ -23,6 +23,7 @@ env:
|
|||
# Force terminal colors. @see https://www.npmjs.com/package/colors
|
||||
FORCE_COLOR: 1
|
||||
FLAKINESS_CONNECTION_STRING: ${{ secrets.FLAKINESS_CONNECTION_STRING }}
|
||||
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
|
||||
|
||||
jobs:
|
||||
test_linux:
|
||||
|
|
|
|||
1
.github/workflows/tests_secondary.yml
vendored
1
.github/workflows/tests_secondary.yml
vendored
|
|
@ -18,6 +18,7 @@ env:
|
|||
# Force terminal colors. @see https://www.npmjs.com/package/colors
|
||||
FORCE_COLOR: 1
|
||||
FLAKINESS_CONNECTION_STRING: ${{ secrets.FLAKINESS_CONNECTION_STRING }}
|
||||
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
|
||||
|
||||
jobs:
|
||||
test_linux:
|
||||
|
|
|
|||
1
.github/workflows/tests_stress.yml
vendored
1
.github/workflows/tests_stress.yml
vendored
|
|
@ -16,6 +16,7 @@ on:
|
|||
|
||||
env:
|
||||
FORCE_COLOR: 1
|
||||
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
|
||||
|
||||
jobs:
|
||||
test_components:
|
||||
|
|
|
|||
1
.github/workflows/tests_video.yml
vendored
1
.github/workflows/tests_video.yml
vendored
|
|
@ -10,6 +10,7 @@ env:
|
|||
# Force terminal colors. @see https://www.npmjs.com/package/colors
|
||||
FORCE_COLOR: 1
|
||||
FLAKINESS_CONNECTION_STRING: ${{ secrets.FLAKINESS_CONNECTION_STRING }}
|
||||
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
|
||||
|
||||
jobs:
|
||||
video_linux:
|
||||
|
|
|
|||
1
.github/workflows/tests_webview2.yml
vendored
1
.github/workflows/tests_webview2.yml
vendored
|
|
@ -18,6 +18,7 @@ env:
|
|||
# Force terminal colors. @see https://www.npmjs.com/package/colors
|
||||
FORCE_COLOR: 1
|
||||
FLAKINESS_CONNECTION_STRING: ${{ secrets.FLAKINESS_CONNECTION_STRING }}
|
||||
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
|
||||
|
||||
jobs:
|
||||
test_webview2:
|
||||
|
|
|
|||
Loading…
Reference in a new issue