Browse Source

Merge branch 'develop' into fix/duration-save-on-blur

pull/4084/head
Wing-Kam Wong 2 years ago
parent
commit
260881b717
  1. 670
      .github/workflows/ci-cd-backup.yml
  2. 156
      .github/workflows/ci-cd.yml
  3. 2
      .github/workflows/docker-readme-publish.yml
  4. 2
      .github/workflows/pr-to-master.yml
  5. 2
      .github/workflows/publish-api-docs.yml
  6. 2
      .github/workflows/publish-blog.yml
  7. 2
      .github/workflows/publish-dev-docs.yml
  8. 2
      .github/workflows/publish-docs.yml
  9. 2
      .github/workflows/publish-noco-i18n.yml
  10. 2
      .github/workflows/publish-prev-docs.yml
  11. 4
      .github/workflows/release-docker.yml
  12. 2
      .github/workflows/release-draft.yml
  13. 2
      .github/workflows/release-npm.yml
  14. 4
      .github/workflows/update-sdk-path.yml
  15. 3
      packages/nc-gui/components/smartsheet/Grid.vue
  16. 4
      packages/nc-gui/composables/useCopy.ts
  17. 1
      packages/nc-gui/lang/ar.json
  18. 1
      packages/nc-gui/lang/bn_IN.json
  19. 1
      packages/nc-gui/lang/da.json
  20. 1
      packages/nc-gui/lang/de.json
  21. 1
      packages/nc-gui/lang/es.json
  22. 1
      packages/nc-gui/lang/fa.json
  23. 1
      packages/nc-gui/lang/fi.json
  24. 1
      packages/nc-gui/lang/fr.json
  25. 1
      packages/nc-gui/lang/he.json
  26. 1
      packages/nc-gui/lang/hi.json
  27. 1
      packages/nc-gui/lang/hr.json
  28. 1
      packages/nc-gui/lang/id.json
  29. 1
      packages/nc-gui/lang/it.json
  30. 1
      packages/nc-gui/lang/ja.json
  31. 1
      packages/nc-gui/lang/ko.json
  32. 1
      packages/nc-gui/lang/lv.json
  33. 1
      packages/nc-gui/lang/nl.json
  34. 1
      packages/nc-gui/lang/no.json
  35. 1
      packages/nc-gui/lang/pl.json
  36. 1
      packages/nc-gui/lang/pt.json
  37. 1
      packages/nc-gui/lang/pt_BR.json
  38. 1
      packages/nc-gui/lang/ru.json
  39. 1
      packages/nc-gui/lang/sl.json
  40. 1
      packages/nc-gui/lang/sv.json
  41. 1
      packages/nc-gui/lang/th.json
  42. 1
      packages/nc-gui/lang/tr.json
  43. 1
      packages/nc-gui/lang/uk.json
  44. 1
      packages/nc-gui/lang/vi.json
  45. 1
      packages/nc-gui/lang/zh-Hans.json
  46. 1
      packages/nc-gui/lang/zh-Hant.json

670
.github/workflows/ci-cd-backup.yml

@ -1,670 +0,0 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: "CI/CD - Backup"
on:
push:
branches: [develop, cypress]
paths:
- "packages/nc-gui/**"
- "scripts/cypress/**"
- "packages/nocodb/**"
- ".github/workflows/ci-cd.yml"
pull_request:
branches: [develop]
paths:
- "packages/nc-gui/**"
- "scripts/cypress/**"
- "packages/nocodb/**"
- ".github/workflows/ci-cd.yml"
jobs:
cypress-pg-restTableOps-run-cache:
runs-on: ubuntu-20.04
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 16.15.0
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: |
npm run start:api:cache
npm run start:web
docker-compose -f ./scripts/cypress/docker-compose-pg.yml up -d
spec: "./scripts/cypress/integration/test/pg-restTableOps.js"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/runtime.js"
wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json
- name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2
with:
name: cypress-pg-restTableOps-run-cache-snapshots
path: scripts/cypress/screenshots
retention-days: 2
cypress-pg-restViews-run-cache:
runs-on: ubuntu-20.04
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 16.15.0
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: |
npm run start:api:cache
npm run start:web
docker-compose -f ./scripts/cypress/docker-compose-pg.yml up -d
spec: "./scripts/cypress/integration/test/pg-restViews.js"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/runtime.js"
wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json
- name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2
with:
name: cypress-pg-restViews-run-cache-snapshots
path: scripts/cypress/screenshots
retention-days: 2
cypress-pg-restRoles-run-cache:
runs-on: ubuntu-20.04
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 16.15.0
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: |
npm run start:api:cache
npm run start:web
docker-compose -f ./scripts/cypress/docker-compose-pg.yml up -d
spec: "./scripts/cypress/integration/test/pg-restRoles.js"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/runtime.js"
wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json
- name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2
with:
name: cypress-pg-restRoles-run-cache-snapshots
path: scripts/cypress/screenshots
retention-days: 2
cypress-pg-restMisc-run-cache:
runs-on: ubuntu-20.04
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 16.15.0
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: |
npm run start:api:cache
npm run start:web
docker-compose -f ./scripts/cypress/docker-compose-pg.yml up -d
spec: "./scripts/cypress/integration/test/pg-restMisc.js"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/runtime.js"
wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json
- name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2
with:
name: cypress-pg-restMisc-run-cache-snapshots
path: scripts/cypress/screenshots
retention-days: 2
cypress-restTableOps-run-cache:
runs-on: ubuntu-20.04
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 16.15.0
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: |
npm run start:api:cache
npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
spec: "./scripts/cypress/integration/test/restTableOps.js"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/runtime.js"
wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json
- name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2
with:
name: cypress-restTableOps-run-cache-snapshots
path: scripts/cypress/screenshots
retention-days: 2
cypress-restViews-run-cache:
runs-on: ubuntu-20.04
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 16.15.0
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: |
npm run start:api:cache
npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
spec: "./scripts/cypress/integration/test/restViews.js"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/runtime.js"
wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json
- name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2
with:
name: cypress-restViews-run-cache-snapshots
path: scripts/cypress/screenshots
retention-days: 2
cypress-restRoles-run-cache:
runs-on: ubuntu-20.04
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 16.15.0
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: |
npm run start:api:cache
npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
spec: "./scripts/cypress/integration/test/restRoles.js"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/runtime.js"
wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json
- name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2
with:
name: cypress-restRoles-run-cache-snapshots
path: scripts/cypress/screenshots
retention-days: 2
cypress-restMisc-run-cache:
runs-on: ubuntu-20.04
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 16.15.0
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: |
npm run start:api:cache
npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
spec: "./scripts/cypress/integration/test/restMisc.js"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/runtime.js"
wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json
- name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2
with:
name: cypress-restMisc-run-cache-snapshots
path: scripts/cypress/screenshots
retention-days: 2
cypress-xcdb-restTableOps-run-cache:
runs-on: ubuntu-20.04
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 16.15.0
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: |
npm run start:xcdb-api:cache
npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
spec: "./scripts/cypress/integration/test/xcdb-restTableOps.js"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/runtime.js"
wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json
- name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2
with:
name: cypress-xcdb-restTableOps-run-cache-snapshots
path: scripts/cypress/screenshots
retention-days: 2
cypress-xcdb-restViews-run-cache:
runs-on: ubuntu-20.04
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 16.15.0
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: |
npm run start:xcdb-api:cache
npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
spec: "./scripts/cypress/integration/test/xcdb-restViews.js"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/runtime.js"
wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json
- name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2
with:
name: cypress-xcdb-restViews-run-cache-snapshots
path: scripts/cypress/screenshots
retention-days: 2
cypress-xcdb-restRoles-run-cache:
runs-on: ubuntu-20.04
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 16.15.0
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: |
npm run start:xcdb-api:cache
npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
spec: "./scripts/cypress/integration/test/xcdb-restRoles.js"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/runtime.js"
wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json
- name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2
with:
name: cypress-xcdb-restRoles-run-cache-snapshots
path: scripts/cypress/screenshots
retention-days: 2
cypress-xcdb-restMisc-run-cache:
runs-on: ubuntu-20.04
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 16.15.0
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: |
npm run start:xcdb-api:cache
npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
spec: "./scripts/cypress/integration/test/xcdb-restMisc.js"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/runtime.js"
wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json
- name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2
with:
name: cypress-xcdb-restMisc-run-cache-snapshots
path: scripts/cypress/screenshots
retention-days: 2
cy-quick-sqlite:
runs-on: ubuntu-20.04
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 16.15.0
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: |
cp ./scripts/cypress/fixtures/quickTest/noco_0_91_7.db ./packages/nocodb/noco.db
npm run start:api:cache
npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
spec: "./scripts/cypress/integration/test/quickTest.js"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/runtime.js"
wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json
- name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2
with:
name: cy-quick-sqlite-snapshots
path: scripts/cypress/screenshots
retention-days: 2
cy-quick-pg:
runs-on: ubuntu-20.04
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 16.15.0
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: |
docker-compose -f ./scripts/cypress/docker-compose-pg-cy-quick.yml up -d
npm run start:api:cache:pg:cyquick
npm run start:web
spec: "./scripts/cypress/integration/test/quickTest.js"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/runtime.js"
wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json
- name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2
with:
name: cy-quick-pg-snapshots
path: scripts/cypress/screenshots
retention-days: 2
# docker:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# with:
# fetch-depth: 0
# - name: Check for update
# run: |
# echo "CHANGED=$([[ $(lerna ls --since ${{github.event.before}} | grep nocodb) = nocodb ]] && echo 'OK')" >> $GITHUB_ENV
# - name: Test Mysql REST APIs
# if: ${{ env.CHANGED == 'OK' }}
# run: cd ./packages/nocodb/ && docker-compose run xc-test-mysql
# - name: Test Mysql GraphQL APIs
# if: ${{ env.CHANGED == 'OK' }}
# run: cd ./packages/nocodb/ && docker-compose run xc-test-gql-mysql
#
# # - name: Test MSSQL REST APIs
# # run: cd ./packages/nocodb/ && docker-compose run xc-test-mssql
# # - name: Test MSSQL GraphQL APIs
# # run: cd ./packages/nocodb/ && docker-compose run xc-test-gql-mssql
# #
# - name: Test PostgreSQL REST APIs
# if: ${{ env.CHANGED == 'OK' }}
# run: cd ./packages/nocodb/ && docker-compose run xc-test-pg
# - name: Test PostgreSQL GraphQL APIs
# if: ${{ env.CHANGED == 'OK' }}
# run: cd ./packages/nocodb/ && docker-compose run xc-test-gql-pg
#
# - name: Test SQLite3 REST APIs
# run: cd ./packages/nocodb/ && docker-compose run xc-test-sqlite
# - name: Test SQLite3 GraphQL APIs
# run: cd ./packages/nocodb/ && docker-compose run xc-test-gql-sqlite

156
.github/workflows/ci-cd.yml

@ -31,15 +31,15 @@ jobs:
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 16.15.0 node-version: 16.15.0
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v2 uses: actions/cache@v3
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
@ -54,7 +54,7 @@ jobs:
- name: Set env - name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run - name: Cypress run
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v4
with: with:
start: | start: |
npm run start:api:cache npm run start:api:cache
@ -66,7 +66,7 @@ jobs:
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: cypress-restTableOps-run-cache-snapshots name: cypress-restTableOps-run-cache-snapshots
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
@ -77,15 +77,15 @@ jobs:
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 16.15.0 node-version: 16.15.0
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v2 uses: actions/cache@v3
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
@ -100,7 +100,7 @@ jobs:
- name: Set env - name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run - name: Cypress run
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v4
with: with:
start: | start: |
npm run start:api:cache npm run start:api:cache
@ -112,7 +112,7 @@ jobs:
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: cypress-restViews-run-cache-snapshots name: cypress-restViews-run-cache-snapshots
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
@ -123,15 +123,15 @@ jobs:
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 16.15.0 node-version: 16.15.0
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v2 uses: actions/cache@v3
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
@ -146,7 +146,7 @@ jobs:
- name: Set env - name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run - name: Cypress run
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v4
with: with:
start: | start: |
npm run start:api:cache npm run start:api:cache
@ -158,7 +158,7 @@ jobs:
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: cypress-restRoles-run-cache-snapshots name: cypress-restRoles-run-cache-snapshots
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
@ -169,15 +169,15 @@ jobs:
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 16.15.0 node-version: 16.15.0
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v2 uses: actions/cache@v3
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
@ -192,7 +192,7 @@ jobs:
- name: Set env - name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run - name: Cypress run
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v4
with: with:
start: | start: |
npm run start:api:cache npm run start:api:cache
@ -204,7 +204,7 @@ jobs:
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: cypress-restMisc-run-cache-snapshots name: cypress-restMisc-run-cache-snapshots
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
@ -215,15 +215,15 @@ jobs:
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 16.15.0 node-version: 16.15.0
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v2 uses: actions/cache@v3
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
@ -238,7 +238,7 @@ jobs:
- name: Set env - name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run - name: Cypress run
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v4
with: with:
start: | start: |
npm run start:xcdb-api:cache npm run start:xcdb-api:cache
@ -250,7 +250,7 @@ jobs:
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: cypress-xcdb-restTableOps-run-cache-snapshots name: cypress-xcdb-restTableOps-run-cache-snapshots
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
@ -261,15 +261,15 @@ jobs:
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 16.15.0 node-version: 16.15.0
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v2 uses: actions/cache@v3
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
@ -284,7 +284,7 @@ jobs:
- name: Set env - name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run - name: Cypress run
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v4
with: with:
start: | start: |
npm run start:xcdb-api:cache npm run start:xcdb-api:cache
@ -296,7 +296,7 @@ jobs:
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: cypress-xcdb-restViews-run-cache-snapshots name: cypress-xcdb-restViews-run-cache-snapshots
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
@ -307,15 +307,15 @@ jobs:
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 16.15.0 node-version: 16.15.0
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v2 uses: actions/cache@v3
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
@ -330,7 +330,7 @@ jobs:
- name: Set env - name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run - name: Cypress run
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v4
with: with:
start: | start: |
npm run start:xcdb-api:cache npm run start:xcdb-api:cache
@ -342,7 +342,7 @@ jobs:
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: cypress-xcdb-restRoles-run-cache-snapshots name: cypress-xcdb-restRoles-run-cache-snapshots
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
@ -353,15 +353,15 @@ jobs:
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 16.15.0 node-version: 16.15.0
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v2 uses: actions/cache@v3
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
@ -376,7 +376,7 @@ jobs:
- name: Set env - name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run - name: Cypress run
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v4
with: with:
start: | start: |
npm run start:xcdb-api:cache npm run start:xcdb-api:cache
@ -388,7 +388,7 @@ jobs:
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: cypress-xcdb-restMisc-run-cache-snapshots name: cypress-xcdb-restMisc-run-cache-snapshots
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
@ -399,15 +399,15 @@ jobs:
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 16.15.0 node-version: 16.15.0
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v2 uses: actions/cache@v3
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
@ -422,7 +422,7 @@ jobs:
- name: Set env - name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run - name: Cypress run
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v4
with: with:
start: | start: |
npm run start:api:cache npm run start:api:cache
@ -434,7 +434,7 @@ jobs:
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: cypress-pg-restTableOps-run-cache-snapshots name: cypress-pg-restTableOps-run-cache-snapshots
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
@ -445,15 +445,15 @@ jobs:
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 16.15.0 node-version: 16.15.0
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v2 uses: actions/cache@v3
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
@ -468,7 +468,7 @@ jobs:
- name: Set env - name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run - name: Cypress run
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v4
with: with:
start: | start: |
npm run start:api:cache npm run start:api:cache
@ -480,7 +480,7 @@ jobs:
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: cypress-pg-restViews-run-cache-snapshots name: cypress-pg-restViews-run-cache-snapshots
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
@ -491,15 +491,15 @@ jobs:
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 16.15.0 node-version: 16.15.0
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v2 uses: actions/cache@v3
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
@ -514,7 +514,7 @@ jobs:
- name: Set env - name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run - name: Cypress run
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v4
with: with:
start: | start: |
npm run start:api:cache npm run start:api:cache
@ -526,7 +526,7 @@ jobs:
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: cypress-pg-restRoles-run-cache-snapshots name: cypress-pg-restRoles-run-cache-snapshots
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
@ -537,15 +537,15 @@ jobs:
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 16.15.0 node-version: 16.15.0
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v2 uses: actions/cache@v3
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
@ -560,7 +560,7 @@ jobs:
- name: Set env - name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run - name: Cypress run
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v4
with: with:
start: | start: |
npm run start:api:cache npm run start:api:cache
@ -572,7 +572,7 @@ jobs:
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: cypress-pg-restMisc-run-cache-snapshots name: cypress-pg-restMisc-run-cache-snapshots
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
@ -583,15 +583,15 @@ jobs:
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 16.15.0 node-version: 16.15.0
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v2 uses: actions/cache@v3
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
@ -606,7 +606,7 @@ jobs:
- name: Set env - name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run - name: Cypress run
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v4
with: with:
start: | start: |
cp ./scripts/cypress/fixtures/quickTest/noco_0_91_7.db ./packages/nocodb/noco.db cp ./scripts/cypress/fixtures/quickTest/noco_0_91_7.db ./packages/nocodb/noco.db
@ -619,7 +619,7 @@ jobs:
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: cy-quick-sqlite-snapshots name: cy-quick-sqlite-snapshots
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
@ -630,15 +630,15 @@ jobs:
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 16.15.0 node-version: 16.15.0
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v2 uses: actions/cache@v3
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
@ -653,7 +653,7 @@ jobs:
- name: Set env - name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run - name: Cypress run
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v4
with: with:
start: | start: |
docker-compose -f ./scripts/cypress/docker-compose-pg-cy-quick.yml up -d docker-compose -f ./scripts/cypress/docker-compose-pg-cy-quick.yml up -d
@ -665,7 +665,7 @@ jobs:
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: cy-quick-pg-snapshots name: cy-quick-pg-snapshots
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
@ -676,15 +676,15 @@ jobs:
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 16.15.0 node-version: 16.15.0
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v2 uses: actions/cache@v3
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
@ -717,15 +717,15 @@ jobs:
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 16.15.0 node-version: 16.15.0
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v2 uses: actions/cache@v3
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
@ -740,7 +740,7 @@ jobs:
- name: Set env - name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Cypress run - name: Cypress run
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v4
with: with:
start: | start: |
npm run start:api:cache npm run start:api:cache
@ -752,7 +752,7 @@ jobs:
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: cypress-restMisc-run-cache-snapshots name: cypress-restMisc-run-cache-snapshots
path: scripts/cypress/screenshots path: scripts/cypress/screenshots

2
.github/workflows/docker-readme-publish.yml

@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Docker Hub Description - name: Docker Hub Description
uses: peter-evans/dockerhub-description@v2 uses: peter-evans/dockerhub-description@v2
with: with:

2
.github/workflows/pr-to-master.yml

@ -33,7 +33,7 @@ jobs:
- run: | - run: |
echo 'triggering pr-to-master' echo 'triggering pr-to-master'
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
ref: develop ref: develop

2
.github/workflows/publish-api-docs.yml

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0

2
.github/workflows/publish-blog.yml

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0

2
.github/workflows/publish-dev-docs.yml

@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2

2
.github/workflows/publish-docs.yml

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2

2
.github/workflows/publish-noco-i18n.yml

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0

2
.github/workflows/publish-prev-docs.yml

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2

4
.github/workflows/release-docker.yml

@ -66,7 +66,7 @@ jobs:
echo ${DOCKER_BUILD_TAG} echo ${DOCKER_BUILD_TAG}
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
ref: ${{ github.ref }} ref: ${{ github.ref }}
@ -110,7 +110,7 @@ jobs:
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v1
- name: Cache Docker layers - name: Cache Docker layers
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: /tmp/.buildx-cache path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }} key: ${{ runner.os }}-buildx-${{ github.sha }}

2
.github/workflows/release-draft.yml

@ -39,7 +39,7 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
ref: ${{ github.ref }} ref: ${{ github.ref }}

2
.github/workflows/release-npm.yml

@ -38,7 +38,7 @@ jobs:
working-directory: ./packages/nocodb working-directory: ./packages/nocodb
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
ref: ${{ github.ref }} ref: ${{ github.ref }}

4
.github/workflows/update-sdk-path.yml

@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 16.15.0 node-version: 16.15.0
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0

3
packages/nc-gui/components/smartsheet/Grid.vue

@ -258,7 +258,8 @@ const onNavigate = (dir: NavigateDir) => {
if (selected.row < data.value.length - 1) { if (selected.row < data.value.length - 1) {
selected.row++ selected.row++
} else { } else {
editEnabled = false addEmptyRow()
selected.row++
} }
break break
case NavigateDir.PREV: case NavigateDir.PREV:

4
packages/nc-gui/composables/useCopy.ts

@ -15,11 +15,15 @@ export const useCopy = () => {
const { copy: _copy, isSupported } = useClipboard() const { copy: _copy, isSupported } = useClipboard()
const copy = async (text: string) => { const copy = async (text: string) => {
try {
if (isSupported.value) { if (isSupported.value) {
await _copy(text) await _copy(text)
} else { } else {
copyFallback(text) copyFallback(text)
} }
} catch (e) {
copyFallback(text)
}
} }
return { copy } return { copy }

1
packages/nc-gui/lang/ar.json

@ -16,6 +16,7 @@
"cancel": "إلغاء", "cancel": "إلغاء",
"submit": "إرسال", "submit": "إرسال",
"create": "إنشاء", "create": "إنشاء",
"duplicate": "Duplicate",
"insert": "إدراج", "insert": "إدراج",
"delete": "حذف", "delete": "حذف",
"update": "تحديث", "update": "تحديث",

1
packages/nc-gui/lang/bn_IN.json

@ -16,6 +16,7 @@
"cancel": "বিল", "cancel": "বিল",
"submit": "জমিন", "submit": "জমিন",
"create": "সি", "create": "সি",
"duplicate": "Duplicate",
"insert": "Insert", "insert": "Insert",
"delete": "ম", "delete": "ম",
"update": "হলনদ", "update": "হলনদ",

1
packages/nc-gui/lang/da.json

@ -16,6 +16,7 @@
"cancel": "Afbestille", "cancel": "Afbestille",
"submit": "Indsend", "submit": "Indsend",
"create": "skab", "create": "skab",
"duplicate": "Duplicate",
"insert": "Indsættes", "insert": "Indsættes",
"delete": "Delete.", "delete": "Delete.",
"update": "UPDATE.", "update": "UPDATE.",

1
packages/nc-gui/lang/de.json

@ -16,6 +16,7 @@
"cancel": "Abbrechen", "cancel": "Abbrechen",
"submit": "Übertragen", "submit": "Übertragen",
"create": "Erstellen", "create": "Erstellen",
"duplicate": "Duplicate",
"insert": "Einfügen", "insert": "Einfügen",
"delete": "Löschen", "delete": "Löschen",
"update": "Aktualisieren", "update": "Aktualisieren",

1
packages/nc-gui/lang/es.json

@ -16,6 +16,7 @@
"cancel": "Cancelar", "cancel": "Cancelar",
"submit": "Enviar", "submit": "Enviar",
"create": "Crear", "create": "Crear",
"duplicate": "Duplicate",
"insert": "Insertar", "insert": "Insertar",
"delete": "Borrar", "delete": "Borrar",
"update": "Actualizar", "update": "Actualizar",

1
packages/nc-gui/lang/fa.json

@ -16,6 +16,7 @@
"cancel": "لغو", "cancel": "لغو",
"submit": "ارسال", "submit": "ارسال",
"create": "ایجاد", "create": "ایجاد",
"duplicate": "Duplicate",
"insert": "درج کردن", "insert": "درج کردن",
"delete": "حذف", "delete": "حذف",
"update": "بهروزرسانی", "update": "بهروزرسانی",

1
packages/nc-gui/lang/fi.json

@ -16,6 +16,7 @@
"cancel": "Peruuttaa", "cancel": "Peruuttaa",
"submit": "Lähetä", "submit": "Lähetä",
"create": "Luoda", "create": "Luoda",
"duplicate": "Duplicate",
"insert": "Lisäys", "insert": "Lisäys",
"delete": "Poistaa", "delete": "Poistaa",
"update": "Päivittää", "update": "Päivittää",

1
packages/nc-gui/lang/fr.json

@ -16,6 +16,7 @@
"cancel": "Annuler", "cancel": "Annuler",
"submit": "Soumettre", "submit": "Soumettre",
"create": "Créer", "create": "Créer",
"duplicate": "Duplicate",
"insert": "Insérer", "insert": "Insérer",
"delete": "Supprimer", "delete": "Supprimer",
"update": "Mettre à jour", "update": "Mettre à jour",

1
packages/nc-gui/lang/he.json

@ -16,6 +16,7 @@
"cancel": "בטל", "cancel": "בטל",
"submit": "שלח", "submit": "שלח",
"create": "צור", "create": "צור",
"duplicate": "Duplicate",
"insert": "הכנס", "insert": "הכנס",
"delete": "מחק", "delete": "מחק",
"update": "עדכן", "update": "עדכן",

1
packages/nc-gui/lang/hi.json

@ -16,6 +16,7 @@
"cancel": "रदद करन", "cancel": "रदद करन",
"submit": "परसत करन", "submit": "परसत करन",
"create": "सजन करन", "create": "सजन करन",
"duplicate": "Duplicate",
"insert": "Insert", "insert": "Insert",
"delete": "मि", "delete": "मि",
"update": "अदयतन", "update": "अदयतन",

1
packages/nc-gui/lang/hr.json

@ -16,6 +16,7 @@
"cancel": "Otkazati", "cancel": "Otkazati",
"submit": "podnijeti", "submit": "podnijeti",
"create": "Stvoriti", "create": "Stvoriti",
"duplicate": "Duplicate",
"insert": "Umetnuti", "insert": "Umetnuti",
"delete": "Izbrisati", "delete": "Izbrisati",
"update": "ažuriranje", "update": "ažuriranje",

1
packages/nc-gui/lang/id.json

@ -16,6 +16,7 @@
"cancel": "Membatalkan", "cancel": "Membatalkan",
"submit": "Kirim", "submit": "Kirim",
"create": "Membuat", "create": "Membuat",
"duplicate": "Duplicate",
"insert": "Memasukkan", "insert": "Memasukkan",
"delete": "Menghapus", "delete": "Menghapus",
"update": "Memperbarui", "update": "Memperbarui",

1
packages/nc-gui/lang/it.json

@ -16,6 +16,7 @@
"cancel": "Annulla", "cancel": "Annulla",
"submit": "Invia", "submit": "Invia",
"create": "Crea", "create": "Crea",
"duplicate": "Duplicate",
"insert": "Inserisci", "insert": "Inserisci",
"delete": "Elimina", "delete": "Elimina",
"update": "Aggiorna", "update": "Aggiorna",

1
packages/nc-gui/lang/ja.json

@ -16,6 +16,7 @@
"cancel": "キャンセル", "cancel": "キャンセル",
"submit": "送信", "submit": "送信",
"create": "作成", "create": "作成",
"duplicate": "Duplicate",
"insert": "挿入", "insert": "挿入",
"delete": "削除", "delete": "削除",
"update": "更新", "update": "更新",

1
packages/nc-gui/lang/ko.json

@ -16,6 +16,7 @@
"cancel": "취소", "cancel": "취소",
"submit": "제출", "submit": "제출",
"create": "생성", "create": "생성",
"duplicate": "Duplicate",
"insert": "삽입", "insert": "삽입",
"delete": "삭제", "delete": "삭제",
"update": "업데이트", "update": "업데이트",

1
packages/nc-gui/lang/lv.json

@ -16,6 +16,7 @@
"cancel": "Atcelt", "cancel": "Atcelt",
"submit": "Iesniegt", "submit": "Iesniegt",
"create": "Izveidot", "create": "Izveidot",
"duplicate": "Duplicate",
"insert": "Ievietot", "insert": "Ievietot",
"delete": "Izdzēst", "delete": "Izdzēst",
"update": "Atjaunot", "update": "Atjaunot",

1
packages/nc-gui/lang/nl.json

@ -16,6 +16,7 @@
"cancel": "Annuleren", "cancel": "Annuleren",
"submit": "Indienen", "submit": "Indienen",
"create": "Creëren", "create": "Creëren",
"duplicate": "Duplicate",
"insert": "Invoegen", "insert": "Invoegen",
"delete": "Verwijderen", "delete": "Verwijderen",
"update": "Bijwerken", "update": "Bijwerken",

1
packages/nc-gui/lang/no.json

@ -16,6 +16,7 @@
"cancel": "Avbryt", "cancel": "Avbryt",
"submit": "Sende inn", "submit": "Sende inn",
"create": "Opprett", "create": "Opprett",
"duplicate": "Duplicate",
"insert": "Sett inn", "insert": "Sett inn",
"delete": "Slett", "delete": "Slett",
"update": "Oppdater", "update": "Oppdater",

1
packages/nc-gui/lang/pl.json

@ -16,6 +16,7 @@
"cancel": "Anuluj", "cancel": "Anuluj",
"submit": "Składać", "submit": "Składać",
"create": "Utwórz", "create": "Utwórz",
"duplicate": "Duplicate",
"insert": "Wstawić", "insert": "Wstawić",
"delete": "Kasować", "delete": "Kasować",
"update": "Aktualizacja", "update": "Aktualizacja",

1
packages/nc-gui/lang/pt.json

@ -16,6 +16,7 @@
"cancel": "Cancelar", "cancel": "Cancelar",
"submit": "Enviar", "submit": "Enviar",
"create": "Criar", "create": "Criar",
"duplicate": "Duplicate",
"insert": "Inserir", "insert": "Inserir",
"delete": "Excluir", "delete": "Excluir",
"update": "Atualizar", "update": "Atualizar",

1
packages/nc-gui/lang/pt_BR.json

@ -16,6 +16,7 @@
"cancel": "Cancelar", "cancel": "Cancelar",
"submit": "Enviar", "submit": "Enviar",
"create": "Criar", "create": "Criar",
"duplicate": "Duplicate",
"insert": "Inserir", "insert": "Inserir",
"delete": "Excluir", "delete": "Excluir",
"update": "Atualizar", "update": "Atualizar",

1
packages/nc-gui/lang/ru.json

@ -16,6 +16,7 @@
"cancel": "Отмена", "cancel": "Отмена",
"submit": "Отправить", "submit": "Отправить",
"create": "Создать", "create": "Создать",
"duplicate": "Duplicate",
"insert": "Вставить", "insert": "Вставить",
"delete": "Удалить", "delete": "Удалить",
"update": "Обновить", "update": "Обновить",

1
packages/nc-gui/lang/sl.json

@ -16,6 +16,7 @@
"cancel": "Prekliči", "cancel": "Prekliči",
"submit": "Pošlji", "submit": "Pošlji",
"create": "Ustvari", "create": "Ustvari",
"duplicate": "Duplicate",
"insert": "Vstavi", "insert": "Vstavi",
"delete": "Izbrišite", "delete": "Izbrišite",
"update": "Nadgradnja", "update": "Nadgradnja",

1
packages/nc-gui/lang/sv.json

@ -16,6 +16,7 @@
"cancel": "Avbryt", "cancel": "Avbryt",
"submit": "Skicka in", "submit": "Skicka in",
"create": "Skapa", "create": "Skapa",
"duplicate": "Duplicate",
"insert": "Föra in", "insert": "Föra in",
"delete": "Radera", "delete": "Radera",
"update": "Uppdatering", "update": "Uppdatering",

1
packages/nc-gui/lang/th.json

@ -16,6 +16,7 @@
"cancel": "ยกเลก", "cancel": "ยกเลก",
"submit": "สง", "submit": "สง",
"create": "สราง", "create": "สราง",
"duplicate": "Duplicate",
"insert": "แทรก", "insert": "แทรก",
"delete": "ลบ", "delete": "ลบ",
"update": "อปเดต", "update": "อปเดต",

1
packages/nc-gui/lang/tr.json

@ -16,6 +16,7 @@
"cancel": "İptal", "cancel": "İptal",
"submit": "Gönder", "submit": "Gönder",
"create": "Oluştur", "create": "Oluştur",
"duplicate": "Duplicate",
"insert": "Ekle", "insert": "Ekle",
"delete": "Sil", "delete": "Sil",
"update": "Güncelle", "update": "Güncelle",

1
packages/nc-gui/lang/uk.json

@ -16,6 +16,7 @@
"cancel": "Скасувати", "cancel": "Скасувати",
"submit": "Подавати", "submit": "Подавати",
"create": "Створювати", "create": "Створювати",
"duplicate": "Duplicate",
"insert": "Вставляти", "insert": "Вставляти",
"delete": "Видаляти", "delete": "Видаляти",
"update": "Оновлення", "update": "Оновлення",

1
packages/nc-gui/lang/vi.json

@ -16,6 +16,7 @@
"cancel": "Hủy bỏ", "cancel": "Hủy bỏ",
"submit": "Nộp", "submit": "Nộp",
"create": "Tạo ra", "create": "Tạo ra",
"duplicate": "Duplicate",
"insert": "Chèn", "insert": "Chèn",
"delete": "Xóa bỏ", "delete": "Xóa bỏ",
"update": "Cập nhật", "update": "Cập nhật",

1
packages/nc-gui/lang/zh-Hans.json

@ -16,6 +16,7 @@
"cancel": "取消", "cancel": "取消",
"submit": "提交", "submit": "提交",
"create": "新建", "create": "新建",
"duplicate": "Duplicate",
"insert": "插入", "insert": "插入",
"delete": "删除", "delete": "删除",
"update": "更新", "update": "更新",

1
packages/nc-gui/lang/zh-Hant.json

@ -16,6 +16,7 @@
"cancel": "取消", "cancel": "取消",
"submit": "提交", "submit": "提交",
"create": "建立", "create": "建立",
"duplicate": "Duplicate",
"insert": "插入", "insert": "插入",
"delete": "刪除", "delete": "刪除",
"update": "更新", "update": "更新",

Loading…
Cancel
Save