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: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }} - name: NPM Setup and Publish with ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: NPM Setup and Publish
# Setup .npmrc file to publish to npm # Setup .npmrc file to publish to npm
uses: actions/setup-node@v2 uses: actions/setup-node@v2
with: with:
# node-version: '16.x' node-version: ${{ matrix.node-version }}
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