kopia lustrzana https://github.com/Tldraw/Tldraw
increase publish script timeouts (#3570)
rodzic
fc370d8941
commit
a319ad9497
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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',
|
||||
|
|
Ładowanie…
Reference in New Issue