chore(publish): fix timeout problem (#3678)

This commit is contained in:
Alireza 2023-09-26 11:43:37 -04:00 committed by GitHub
parent b6e33224c8
commit fcd323fa8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 11 deletions

View File

@ -228,6 +228,14 @@ jobs:
name: build the other half of the packages
command: |
yarn run build:package-all-1
- run:
name: increase min time out
command: |
npm config set fetch-retry-mintimeout 20000
- run:
name: increase max time out
command: |
npm config set fetch-retry-maxtimeout 120000
- run:
name: publish package versions
command: |

View File

@ -20,7 +20,7 @@
"module": "src/index.tsx",
"engines": {
"node": ">=14",
"npm": ">=6",
"npm": ">=7",
"yarn": ">=1.16.0"
},
"scripts": {

View File

@ -1,10 +0,0 @@
set +e
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
nvm install v18
nvm alias default 18.18.0
echo 'export NVM_DIR="$HOME/.nvm"' >>$BASH_ENV
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >>$BASH_ENV