ui: fix running storybook tests in ci

This commit is contained in:
Glen Huang
2025-10-22 19:06:17 +08:00
parent 5fb4751bd8
commit 90e6d77e26
5 changed files with 19 additions and 10 deletions

View File

@@ -22,7 +22,6 @@
clan-ts-api = config.packages.clan-ts-api;
fonts = config.packages.fonts;
};
};
# //
# todo add darwin support
@@ -45,8 +44,8 @@
checks =
config.packages.clan-app.tests
# Clan's darwin CI is a sandbox too limiting to spawn a headless brwoser
// lib.optionalAttrs (!lib.hasSuffix system "darwin") {
# Sandboxed Darwin nix build can't spawn a headless brwoser
// lib.optionalAttrs (!lib.hasSuffix "darwin" system) {
inherit (config.packages.clan-app-ui.tests) clan-app-ui-storybook;
};
};