Browse Source

fix: nightly build docker issue

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1631/head
Wing-Kam Wong 3 years ago
parent
commit
9e9182349f
  1. 6
      .github/workflows/release-docker.yml
  2. 2
      .github/workflows/release-npm.yml

6
.github/workflows/release-docker.yml

@ -73,6 +73,12 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: upgrade packages for nightly build
if: ${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }}
run: |
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} node ../../scripts/upgradeNocodbSdk.js
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} node ../../scripts/upgradeNcGui.js
- uses: bahmutov/npm-install@v1
with:
working-directory: ${{ env.working-directory }}

2
.github/workflows/release-npm.yml

@ -56,7 +56,7 @@ jobs:
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} npm run build:copy:jsdeliver
cd ../..
npm install
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/upgradeNcGui.js && cd packages/nocodb && npm install && npm run obfuscate:build:publish
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} node scripts/upgradeNcGui.js && cd packages/nocodb && npm install && npm run obfuscate:build:publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Create Pull Request

Loading…
Cancel
Save