mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 01:05:22 +00:00
refactor: combine setup-node
Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
This commit is contained in:
9
.github/workflows/release-npm.yml
vendored
9
.github/workflows/release-npm.yml
vendored
@@ -41,16 +41,11 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- name: NPM Setup and Publish
|
||||
- name: NPM Setup and Publish with ${{ matrix.node-version }}
|
||||
# Setup .npmrc file to publish to npm
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
# node-version: '16.x'
|
||||
node-version: ${{ matrix.node-version }}
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user