Browse Source

feat(workflows): include --ignore-scripts

pull/5903/head
Wing-Kam Wong 11 months ago
parent
commit
fcca0f947e
  1. 4
      .github/workflows/release-docker.yml
  2. 4
      .github/workflows/release-npm.yml

4
.github/workflows/release-docker.yml

@ -92,12 +92,12 @@ 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
pnpm --filter=!playwright install --no-frozen-lockfile && pnpm run build
pnpm --filter=!playwright install --ignore-scripts --no-frozen-lockfile && pnpm run build
cd ../..
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
pnpm --filter=!playwright install --no-frozen-lockfile
pnpm --filter=!playwright install --ignore-scripts --no-frozen-lockfile
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} pnpm run build:copy
cd ../..
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} node scripts/upgradeNcGui.js

4
.github/workflows/release-npm.yml

@ -56,13 +56,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 --filter=!playwright install --no-frozen-lockfile && pnpm run build && pnpm publish --no-git-checks &&
npm --filter=!playwright install --ignore-scripts --no-frozen-lockfile && pnpm run build && pnpm publish --no-git-checks &&
cd ../.. &&
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 &&
cd packages/nc-gui &&
pnpm --filter=!playwright install --no-frozen-lockfile
pnpm --filter=!playwright install --ignore-scripts --no-frozen-lockfile &&
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} pnpm run build:copy:publish --no-git-checks &&
cd ../.. &&
sleep 90 &&

Loading…
Cancel
Save