mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-06 03:16:17 +03:00
devops: retry download of upstream Node.js for drivers (#31962)
This commit is contained in:
parent
a541751657
commit
73e0e92a7e
2
.github/workflows/publish_canary.yml
vendored
2
.github/workflows/publish_canary.yml
vendored
@ -14,7 +14,7 @@ env:
|
||||
jobs:
|
||||
publish-canary:
|
||||
name: "publish canary NPM"
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-24.04
|
||||
if: github.repository == 'microsoft/playwright'
|
||||
permissions:
|
||||
id-token: write # This is required for OIDC login (azure/login) to succeed
|
||||
|
2
.github/workflows/publish_release_driver.yml
vendored
2
.github/workflows/publish_release_driver.yml
vendored
@ -10,7 +10,7 @@ env:
|
||||
jobs:
|
||||
publish-driver-release:
|
||||
name: "publish playwright driver to CDN"
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-24.04
|
||||
if: github.repository == 'microsoft/playwright'
|
||||
permissions:
|
||||
id-token: write # This is required for OIDC login (azure/login) to succeed
|
||||
|
2
.github/workflows/tests_secondary.yml
vendored
2
.github/workflows/tests_secondary.yml
vendored
@ -529,7 +529,7 @@ jobs:
|
||||
|
||||
build-playwright-driver:
|
||||
name: "build-playwright-driver"
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
|
@ -31,7 +31,7 @@ function build {
|
||||
mkdir -p ./output/playwright-${SUFFIX}
|
||||
tar -xzf ./output/playwright-core.tgz -C ./output/playwright-${SUFFIX}/
|
||||
|
||||
curl ${NODE_URL} -o ./output/${NODE_DIR}.${ARCHIVE}
|
||||
curl --retry 10 --retry-all-errors ${NODE_URL} -o ./output/${NODE_DIR}.${ARCHIVE}
|
||||
NPM_PATH=""
|
||||
if [[ "${ARCHIVE}" == "zip" ]]; then
|
||||
cd ./output
|
||||
|
Loading…
Reference in New Issue
Block a user