Browse Source

chore(deps): npm ci -> pnpm install

pull/5903/head
Wing-Kam Wong 1 year ago
parent
commit
c1268f624c
  1. 4
      .github/workflows/release-npm.yml
  2. 4
      .github/workflows/unit-test.yml

4
.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 &&

4
.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
Loading…
Cancel
Save