|
|
|
@ -37,13 +37,20 @@ jobs:
|
|
|
|
|
working-directory: ./packages/nocodb |
|
|
|
|
strategy: |
|
|
|
|
matrix: |
|
|
|
|
node-version: [12] |
|
|
|
|
node-version: [14] |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v2 |
|
|
|
|
# Setup .npmrc file to publish to npm |
|
|
|
|
- uses: actions/setup-node@v2 |
|
|
|
|
- name: Checkout |
|
|
|
|
uses: actions/checkout@v2 |
|
|
|
|
- name: Use Node.js ${{ matrix.node-version }} |
|
|
|
|
uses: actions/setup-node@v2 |
|
|
|
|
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' |
|
|
|
|
- run: | |
|
|
|
|
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNocodbSdkVersion.js |
|
|
|
|