Skip to content

feat(utils/sui-tokens): first attempt #132

feat(utils/sui-tokens): first attempt

feat(utils/sui-tokens): first attempt #132

Triggered via pull request January 2, 2025 08:11
@andresin87andresin87
synchronize #2787
tokens
Status Failure
Total duration 2m 37s
Artifacts 1

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 5 warnings
Typecheck: utils/sui-theme/milanuncios.tokens.config.ts#L1
Could not find a declaration file for module 'chroma-js'. '/home/runner/work/sui-components/sui-components/node_modules/chroma-js/index.js' implicitly has an 'any' type.
Typecheck: utils/sui-theme/milanuncios.tokens.config.ts#L7
Type '{ fontSize: string; color: { hero: { 50: string; 100: string; 200: string; 300: string; 400: string; 500: string; 600: string; 700: string; 800: string; 900: string; }; triforce: { 50: string; 100: string; 200: string; ... 6 more ...; 900: string; }; ... 6 more ...; base: { ...; }; }; colorSpace: string; opacity: { ...' is not assignable to type 'PrimitiveTheme'.
Typecheck: utils/sui-theme/milanuncios.tokens.config.ts#L118
Type '({ color, opacity }: PrimitiveTheme) => { color: { brand: { main: string; mainHovered: string; mainPressed: string; mainFocused: string; mainDisabled: any; onMain: string; mainContainer: string; mainContainerHovered: string; ... 45 more ...; onSupportVariant: string; }; feedback: { ...; }; base: { ...; }; extra: {};...' is not assignable to type '(themePrimitives?: PrimitiveTheme | undefined, settingsTheme?: SettingsTheme | undefined) => SemanticTheme'.
Typecheck: utils/sui-theme/milanuncios.tokens.config.ts#L121
'color' is possibly 'undefined'.
Typecheck: utils/sui-theme/milanuncios.tokens.config.ts#L122
'color' is possibly 'undefined'.
Typecheck: utils/sui-theme/milanuncios.tokens.config.ts#L123
'color' is possibly 'undefined'.
Typecheck: utils/sui-theme/milanuncios.tokens.config.ts#L124
'color' is possibly 'undefined'.
Typecheck: utils/sui-theme/milanuncios.tokens.config.ts#L125
'color' is possibly 'undefined'.
Typecheck: utils/sui-theme/milanuncios.tokens.config.ts#L125
'opacity' is possibly 'undefined'.
Typecheck: utils/sui-theme/milanuncios.tokens.config.ts#L126
'color' is possibly 'undefined'.
Build
Process completed with exit code 1.
Assign PR Owner
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Testing
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
coverage-folder
417 KB