Browse Source

chore: release action update

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/6655/head
Pranav C 9 months ago
parent
commit
3130ed25a8
  1. 3
      .github/workflows/release-npm.yml

3
.github/workflows/release-npm.yml

@ -54,10 +54,11 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- run: |
export NODE_OPTIONS="--max_old_space_size=16384"
export NOCODB_SDK_PKG_NAME=nocodb-sdk
export NOCODB_SDK_PKG_NAME="nocodb-sdk"
if [[ "${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }}" ]]; then
export NOCODB_SDK_PKG_NAME=nocodb-sdk-daily
fi
echo ${NOCODB_SDK_PKG_NAME}
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNocodbSdkVersion.js &&
pnpm --filter=${NOCODB_SDK_PKG_NAME} install --ignore-scripts --no-frozen-lockfile && pnpm --filter=${NOCODB_SDK_PKG_NAME} run build && pnpm --filter=${NOCODB_SDK_PKG_NAME} publish --no-git-checks &&
sleep 90 &&

Loading…
Cancel
Save