-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🧪 Add Storybook tests to the CI (#4437)
* Add `@storybook/test-runner` * Run pages tests only * Cache dependencies in another job * Add the storybook-test job * Fix the cache hit check * Fix storybook tests
- Loading branch information
Showing
4 changed files
with
2,126 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* eslint-disable @typescript-eslint/no-var-requires */ | ||
const { getJestConfig } = require('@storybook/test-runner') | ||
|
||
module.exports = { | ||
// The default configuration comes from @storybook/test-runner | ||
...getJestConfig(), | ||
|
||
/** Add your own overrides below | ||
* @see https://jestjs.io/docs/configuration | ||
*/ | ||
roots: undefined, | ||
testMatch: ['<rootDir>/src/app/pages/*/*.stories.tsx'], | ||
} |
Oops, something went wrong.
bba3aee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
pioneer-2-storybook – ./
pioneer-2-storybook-joystream.vercel.app
pioneer-2-storybook.vercel.app
pioneer-2-storybook-git-dev-joystream.vercel.app
bba3aee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
pioneer-2 – ./
pioneer-2-joystream.vercel.app
pioneer-2-git-dev-joystream.vercel.app
pioneer-2.vercel.app