Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview builds are broken #520

Closed
isqua opened this issue Jan 31, 2023 · 1 comment
Closed

Preview builds are broken #520

isqua opened this issue Jan 31, 2023 · 1 comment

Comments

@isqua
Copy link
Contributor

isqua commented Jan 31, 2023

It looks like the preview builds are broken now. Look at the build, at the ‘Run gravity-ui/preview-build-action@v1’ action. There are following error:

ERR! SyntaxError: /home/runner/work/uikit/uikit/.storybook/main.ts: Unexpected token, expected "from" (1:12)
ERR! 
ERR! > 1 | import type {StorybookConfig} from '@storybook/core-common';
ERR!     |             ^
ERR!   2 |
ERR!   3 | const config: StorybookConfig = {
ERR!   4 |     stories: ['../src/**/*.stories.@(ts|tsx)'],

Seems like it was broken since #512, it’s build. When I remove typesVersions from the package.json file, the storybook is builded correctly.

@isqua
Copy link
Contributor Author

isqua commented Jan 31, 2023

Was fixed in #521

@isqua isqua closed this as completed Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant