Browse Source

fix: node version

pull/2318/head
Wing-Kam Wong 2 years ago
parent
commit
8a601b6a15
  1. 5
      .github/workflows/release-docker.yml
  2. 7
      .github/workflows/release-npm.yml
  3. 3
      .github/workflows/update-sdk-path.yml

5
.github/workflows/release-docker.yml

@ -44,9 +44,6 @@ jobs:
runs-on: ubuntu-latest
env:
working-directory: ./packages/nocodb
strategy:
matrix:
node-version: 16.15.0
steps:
- name: Get Docker Repository
id: get-docker-repository
@ -77,7 +74,7 @@ jobs:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: 16.15.0
- name: upgrade packages for nightly build or pr build
if: ${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }}

7
.github/workflows/release-npm.yml

@ -35,20 +35,17 @@ jobs:
runs-on: ubuntu-latest
env:
working-directory: ./packages/nocodb
strategy:
matrix:
node-version: 16.15.0
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: ${{ github.ref }}
- name: NPM Setup and Publish with ${{ matrix.node-version }}
- name: NPM Setup and Publish with 16.15.0
# Setup .npmrc file to publish to npm
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: 16.15.0
registry-url: 'https://registry.npmjs.org'
- run: |
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNocodbSdkVersion.js &&

3
.github/workflows/update-sdk-path.yml

@ -8,9 +8,6 @@ on:
jobs:
release:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: 16.15.0
steps:
- name: Checkout
uses: actions/checkout@v2

Loading…
Cancel
Save