diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml index 55ec46d9af..3df44407b8 100644 --- a/.github/workflows/release-npm.yml +++ b/.github/workflows/release-npm.yml @@ -52,13 +52,13 @@ jobs: export NODE_OPTIONS="--max_old_space_size=16384" targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNocodbSdkVersion.js && cd packages/nocodb-sdk && - npm ci && npm run build && npm publish && + pnpm install && npm run build && npm publish && cd ../.. && sleep 60 && 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 && cd packages/nc-gui && - npm ci && + pnpm install && targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} npm run build:copy:publish && cd ../.. && sleep 60 && diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index d855905267..fce5d5fac6 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -32,13 +32,13 @@ jobs: cache: 'npm' - name: install dependencies nocodb-sdk working-directory: ./packages/nocodb-sdk - run: npm ci + run: pnpm install - name: build nocodb-sdk working-directory: ./packages/nocodb-sdk run: npm run build:main - name: install dependencies nocodb working-directory: ./packages/nocodb - run: npm ci + run: pnpm install - name: run unit tests working-directory: ./packages/nocodb run: npm run unit-test \ No newline at end of file