File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 77 unit :
88 name : Run tests and collect coverage
99 runs-on : ubuntu-latest
10- container :
10+ # container:
1111 # Make sure to grab the latest version of the Playwright image
1212 # https://playwright.dev/docs/docker#pull-the-image
13- image : mcr.microsoft.com/playwright:v1.54.1-noble
13+ # image: mcr.microsoft.com/playwright:v1.54.1-noble
1414
1515 steps :
1616 - uses : actions/checkout@v4
2828 - run : npm ci
2929 name : Install dependencies
3030
31+ - run : npx playwright install chromium --with-deps
32+ name : Install Playwright Dependencies
33+
3134 - run : npm test -- --coverage
3235 name : Run tests with coverage
3336
8790 - run : npm ci
8891 name : Install dependencies
8992
93+ - run : npx playwright install chromium --with-deps
94+ name : Install Playwright Dependencies
95+
9096 - run : npm test
9197 name : Serve Storybook and run tests
9298
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ const config: StorybookConfig = {
3232 return mergeConfig ( config , {
3333 // Add dependencies to pre-optimization
3434 optimizeDeps : {
35- include : [ "storybook-dark-mode " ] ,
35+ include : [ "react/jsx-dev-runtime" , "react-dom/client "] ,
3636 } ,
3737 } ) ;
3838 } ,
You can’t perform that action at this time.
0 commit comments