From 53410a9f95562f3d9b6adc4d79549ab7bcc61067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D5=A1=C9=A8=D5=BC=C9=A2=D3=84=D5=A1=D6=85=D5=BC=C9=A2?= Date: Wed, 11 Oct 2023 20:03:37 +0800 Subject: [PATCH] Revert "chore: hardcode package name" This reverts commit 5f1e8aec18baede1bf923e81a1a34ead54cc3802. --- .github/workflows/release-npm.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml index 02bee376ce..0af45d3c3f 100644 --- a/.github/workflows/release-npm.yml +++ b/.github/workflows/release-npm.yml @@ -54,13 +54,13 @@ jobs: registry-url: 'https://registry.npmjs.org' - run: | export NODE_OPTIONS="--max_old_space_size=16384" - # NOCODB_SDK_PKG_NAME=nocodb-sdk - # if [[ ${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }} ]]; then - # NOCODB_SDK_PKG_NAME=nocodb-sdk-daily - # fi + NOCODB_SDK_PKG_NAME=nocodb-sdk + if [[ ${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }} ]]; then + 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 install --ignore-scripts --no-frozen-lockfile && pnpm --filter=nocodb-sdk run build && pnpm --filter=nocodb-sdk publish --no-git-checks && + 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 && targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} node scripts/upgradeNocodbSdk.js && targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNcGuiVersion.js &&