Browse Source

Update release-npm.yml

add a delay between package upgrade
pull/2227/head
Pranav C 2 years ago committed by GitHub
parent
commit
a669ae3a15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/release-npm.yml

2
.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 }}

Loading…
Cancel
Save