increase publish script timeouts (#3570)
This commit is contained in:
parent
fc370d8941
commit
a319ad9497
6 changed files with 6 additions and 7 deletions
2
.github/workflows/publish-canary.yml
vendored
2
.github/workflows/publish-canary.yml
vendored
|
@ -8,7 +8,7 @@ jobs:
|
|||
deploy:
|
||||
name: 'Publish Canary Packages'
|
||||
environment: npm deploy
|
||||
timeout-minutes: 15
|
||||
timeout-minutes: 60
|
||||
runs-on: ubuntu-latest-16-cores-open
|
||||
|
||||
steps:
|
||||
|
|
2
.github/workflows/publish-manual.yml
vendored
2
.github/workflows/publish-manual.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
|||
deploy:
|
||||
name: '(Re)Publish public packages manually'
|
||||
environment: npm deploy
|
||||
timeout-minutes: 15
|
||||
timeout-minutes: 60
|
||||
runs-on: ubuntu-latest-16-cores-open
|
||||
|
||||
outputs:
|
||||
|
|
2
.github/workflows/publish-new.yml
vendored
2
.github/workflows/publish-new.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
|||
deploy:
|
||||
name: 'Publish new version of public packages'
|
||||
environment: npm deploy
|
||||
timeout-minutes: 15
|
||||
timeout-minutes: 60
|
||||
runs-on: ubuntu-latest-16-cores-open
|
||||
|
||||
steps:
|
||||
|
|
2
.github/workflows/publish-patch.yml
vendored
2
.github/workflows/publish-patch.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
|||
deploy:
|
||||
name: Publish patch release
|
||||
environment: npm deploy
|
||||
timeout-minutes: 15
|
||||
timeout-minutes: 60
|
||||
runs-on: ubuntu-latest-16-cores-open
|
||||
outputs:
|
||||
is_latest_version: ${{ steps.publish_step.outputs.is_latest_version }}
|
||||
|
|
2
.github/workflows/publish-templates.yml
vendored
2
.github/workflows/publish-templates.yml
vendored
|
@ -19,7 +19,7 @@ defaults:
|
|||
jobs:
|
||||
publish_vite:
|
||||
name: 'Vite'
|
||||
timeout-minutes: 15
|
||||
timeout-minutes: 60
|
||||
runs-on: ubuntu-latest-16-cores-open
|
||||
|
||||
steps:
|
||||
|
|
|
@ -160,9 +160,8 @@ export async function publish(distTag?: string) {
|
|||
nicelog('Waiting for package to be published... attempt', attempt, 'of', total)
|
||||
// fetch the new package directly from the npm registry
|
||||
const newVersion = packageDetails.version
|
||||
const unscopedName = packageDetails.name.replace('@tldraw/', '')
|
||||
|
||||
const url = `https://registry.npmjs.org/${packageDetails.name}/-/${unscopedName}-${newVersion}.tgz`
|
||||
const url = `https://registry.npmjs.org/${packageDetails.name}/${newVersion}`
|
||||
nicelog('looking for package at url: ', url)
|
||||
const res = await fetch(url, {
|
||||
method: 'HEAD',
|
||||
|
|
Loading…
Reference in a new issue