From 342dcbe8407ee01d02b5f09b2a250bbc38fe5e5c Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 1 Jun 2022 22:12:36 +0530 Subject: [PATCH] Update release-npm.yml add a delay between package upgrade --- .github/workflows/release-npm.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml index bb71cc92fc..cc96ddf60c 100644 --- a/.github/workflows/release-npm.yml +++ b/.github/workflows/release-npm.yml @@ -55,11 +55,13 @@ jobs: cd packages/nocodb-sdk && npm install && npm run build && npm publish && cd ../.. && + sleep 30 && targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} node scripts/upgradeNocodbSdk.js && cd packages/nc-gui && npm install && targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} npm run build:copy:jsdeliver && cd ../.. && + sleep 60 && targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} node scripts/upgradeNcGui.js && cd packages/nocodb && npm install && npm run obfuscate:build:publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}