Skip to content

Generate React component for each icon #5

Generate React component for each icon

Generate React component for each icon #5

Triggered via pull request July 11, 2024 19:40
Status Failure
Total duration 31s
Artifacts

automation.yaml

on: pull_request
Check types
17s
Check types
Lint
19s
Lint
Check that generated files are up to date
21s
Check that generated files are up to date
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Check types: node_modules/@svgr/core/dist/index.d.ts#L1
Cannot find module 'prettier' or its corresponding type declarations.
Check types: node_modules/@svgr/core/dist/index.d.ts#L2
Could not find a declaration file for module 'svgo'. '/home/runner/work/compound-design-tokens/compound-design-tokens/node_modules/svgo/lib/svgo-node.js' implicitly has an 'any' type.
Check types: src/utils/generateIconTokens.ts#L23
Could not find a declaration file for module '@babel/plugin-transform-react-jsx'. '/home/runner/work/compound-design-tokens/compound-design-tokens/node_modules/@babel/plugin-transform-react-jsx/lib/index.js' implicitly has an 'any' type.
Check types: src/utils/generateIconTokens.ts#L208
Property 'default' does not exist on type '(ast: Node, opts?: GeneratorOptions | undefined, code?: string | { [filename: string]: string; } | undefined) => GeneratorResult'.
Check types: src/utils/generateIconTokens.ts#L213
Property 'default' does not exist on type '(ast: Node, opts?: GeneratorOptions | undefined, code?: string | { [filename: string]: string; } | undefined) => GeneratorResult'.
Check types
Process completed with exit code 2.