From 8a601b6a159b5a967554bd91c6a8004633783313 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Fri, 10 Jun 2022 14:16:58 +0800 Subject: [PATCH] fix: node version --- .github/workflows/release-docker.yml | 5 +---- .github/workflows/release-npm.yml | 7 ++----- .github/workflows/update-sdk-path.yml | 3 --- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release-docker.yml b/.github/workflows/release-docker.yml index d862e56678..bc7ebffff0 100644 --- a/.github/workflows/release-docker.yml +++ b/.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' }} diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml index afb1bb7005..f80cf156d9 100644 --- a/.github/workflows/release-npm.yml +++ b/.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 && diff --git a/.github/workflows/update-sdk-path.yml b/.github/workflows/update-sdk-path.yml index 9b3a2b8fb4..d6360f914d 100644 --- a/.github/workflows/update-sdk-path.yml +++ b/.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