Browse Source

fix: use node 14

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

2
.github/workflows/release-docker.yml

@ -42,7 +42,7 @@ jobs:
working-directory: ./packages/nocodb working-directory: ./packages/nocodb
strategy: strategy:
matrix: matrix:
node-version: [12] node-version: [14]
steps: steps:
- name: Get Docker Repository - name: Get Docker Repository
id: get-docker-repository id: get-docker-repository

17
.github/workflows/release-npm.yml

@ -37,13 +37,20 @@ jobs:
working-directory: ./packages/nocodb working-directory: ./packages/nocodb
strategy: strategy:
matrix: matrix:
node-version: [12] node-version: [14]
steps: steps:
- uses: actions/checkout@v2 - name: Checkout
# Setup .npmrc file to publish to npm uses: actions/checkout@v2
- uses: actions/setup-node@v2 - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with: with:
node-version: '16.x' node-version: ${{ matrix.node-version }}
- name: NPM Setup and Publish
# Setup .npmrc file to publish to npm
uses: actions/setup-node@v2
with:
# node-version: '16.x'
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'
- run: | - run: |
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNocodbSdkVersion.js targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNocodbSdkVersion.js

Loading…
Cancel
Save