Browse Source

refactor: combine setup-node

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1640/head
Wing-Kam Wong 3 years ago
parent
commit
371ee48bca
  1. 9
      .github/workflows/release-npm.yml

9
.github/workflows/release-npm.yml

@ -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

Loading…
Cancel
Save