Browse Source

chore(workflows): frozen lockfile

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

3
.github/workflows/release-npm.yml

@ -55,11 +55,10 @@ jobs:
- run: |
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 &&
pnpm install
pnpm install --frozen-lockfile
cd packages/nocodb-sdk && pnpm run build && pnpm publish --no-git-checks &&
cd ../.. &&
sleep 60 &&
pnpm install &&
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 &&

4
.github/workflows/unit-test.yml

@ -36,13 +36,13 @@ jobs:
cache: 'pnpm'
- name: install dependencies nocodb-sdk
working-directory: ./packages/nocodb-sdk
run: pnpm install
run: pnpm install --frozen-lockfile
- name: build nocodb-sdk
working-directory: ./packages/nocodb-sdk
run: pnpm run build:main
- name: install dependencies nocodb
working-directory: ./packages/nocodb
run: pnpm install
run: pnpm install --frozen-lockfile
- name: run unit tests
working-directory: ./packages/nocodb
run: pnpm run unit-test
Loading…
Cancel
Save