diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index bdb6870b19..71c491f91b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -271,6 +271,14 @@ jobs:
name: Desktop Test
runs-on: ubuntu-latest
environment: development
+ strategy:
+ # all combinations: macos-latest x64, macos-latest arm64, windows-latest x64, ubuntu-latest x64
+ matrix:
+ spec:
+ - { os: macos-latest, platform: macos, arch: x64 }
+ - { os: macos-latest, platform: macos, arch: arm64 }
+ - { os: ubuntu-latest, platform: linux, arch: x64 }
+ - { os: windows-latest, platform: windows, arch: x64 }
needs: [build, build-electron]
steps:
- uses: actions/checkout@v3
diff --git a/apps/web/src/components/__tests__/__snapshots__/provider-composer.spec.tsx.snap b/apps/web/src/components/__tests__/__snapshots__/provider-composer.spec.tsx.snap
new file mode 100644
index 0000000000..ce3f370cbe
--- /dev/null
+++ b/apps/web/src/components/__tests__/__snapshots__/provider-composer.spec.tsx.snap
@@ -0,0 +1,7 @@
+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
+
+exports[`ProviderComposer 1`] = `
+
+ test1
+
+`;
diff --git a/packages/component/src/components/app-sidebar/index.jotai.ts b/packages/component/src/components/app-sidebar/index.jotai.ts
index bb57982ec1..007f7ed0a7 100644
--- a/packages/component/src/components/app-sidebar/index.jotai.ts
+++ b/packages/component/src/components/app-sidebar/index.jotai.ts
@@ -14,6 +14,7 @@ export const appSidebarWidthAtom = atomWithStorage(
export const updateAvailableAtom = atomWithObservable(() => {
return new Observable(subscriber => {
+ subscriber.next(false);
if (typeof window !== 'undefined') {
const isMacosDesktop = environment.isDesktop && environment.isMacOs;
if (isMacosDesktop) {
@@ -25,6 +26,5 @@ export const updateAvailableAtom = atomWithObservable(() => {
};
}
}
- subscriber.next(false);
});
});