|
|
@ -37,13 +37,20 @@ jobs: |
|
|
|
working-directory: ./packages/nocodb |
|
|
|
working-directory: ./packages/nocodb |
|
|
|
strategy: |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
matrix: |
|
|
|
node-version: [12] |
|
|
|
node-version: [14] |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- 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 |
|
|
|
# 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: '16.x' |
|
|
|
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 |
|
|
|