diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml
index 0dbed85501..787bbe9cbf 100644
--- a/.github/workflows/ci-cd.yml
+++ b/.github/workflows/ci-cd.yml
@@ -63,6 +63,47 @@ jobs:
- name: run unit tests
working-directory: ./packages/nocodb
run: npm run test:unit
+ unit-tests-pg:
+ runs-on: ubuntu-20.04
+ timeout-minutes: 40
+ if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
+ steps:
+ - name: Setup Node
+ uses: actions/setup-node@v3
+ with:
+ node-version: 16.15.0
+ - name: Checkout
+ uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+ - name: Cache node modules
+ uses: actions/cache@v3
+ 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: setup pg
+ working-directory: ./
+ run: docker-compose -f ./tests/playwright/scripts/docker-compose-playwright-pg.yml up -d &
+ - name: install dependencies nocodb-sdk
+ working-directory: ./packages/nocodb-sdk
+ run: npm install
+ - name: build nocodb-sdk
+ working-directory: ./packages/nocodb-sdk
+ run: npm run build:main
+ - name: Install dependencies
+ working-directory: ./packages/nocodb
+ run: npm install
+ - name: run unit tests
+ working-directory: ./packages/nocodb
+ run: npm run test:unit:pg
playwright-mysql-1:
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
uses: ./.github/workflows/playwright-test-workflow.yml
diff --git a/packages/nc-gui/components/account/UserList.vue b/packages/nc-gui/components/account/UserList.vue
index b1186e3481..281d04a85a 100644
--- a/packages/nc-gui/components/account/UserList.vue
+++ b/packages/nc-gui/components/account/UserList.vue
@@ -1,6 +1,6 @@
diff --git a/packages/nc-gui/components/smartsheet/sidebar/index.vue b/packages/nc-gui/components/smartsheet/sidebar/index.vue
index 457e5ee74b..33e2ff62ed 100644
--- a/packages/nc-gui/components/smartsheet/sidebar/index.vue
+++ b/packages/nc-gui/components/smartsheet/sidebar/index.vue
@@ -7,6 +7,7 @@ import {
inject,
ref,
resolveComponent,
+ storeToRefs,
useDialog,
useNuxtApp,
useRoute,
@@ -21,11 +22,11 @@ const meta = inject(MetaInj, ref())
const activeView = inject(ActiveViewInj, ref())
-const { activeTab } = useTabs()
+const { activeTab } = storeToRefs(useTabs())
const { views, loadViews, isLoading } = useViews(meta)
-const { lastOpenedViewMap } = useProject()
+const { lastOpenedViewMap } = storeToRefs(useProject())
const setLastOpenedViewId = (viewId?: string) => {
if (viewId && activeTab.value?.id) {
diff --git a/packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue b/packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue
index 681524545e..eac17c2848 100644
--- a/packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue
+++ b/packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue
@@ -199,7 +199,11 @@ defineExpose({