File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,26 +17,24 @@ jobs:
1717 with :
1818 fetch-depth : 0
1919
20- - name : Install Dependencies
21- run : npm install
22- working-directory : ./ui
23-
2420 - name : Build Storybook
25- run : npm run build-storybook
2621 working-directory : ./ui
22+ run : |
23+ npm ci
24+ npx playwright install
25+ npm run build-storybook
2726
2827 - name : Publish to Chromatic
2928 id : chromatic
3029 uses : chromaui/action@v11
3130 with :
3231 token : ${{ secrets.GITHUB_TOKEN }}
33- projectToken : chpt_0314d7b0d66ad0c
32+ projectToken : ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
3433 storybookBuildDir : " storybook-static"
3534 workingDir : " ./ui"
3635 exitOnceUploaded : true
3736
38- - name : Test the deployed Storybook
37+ - name : Test Storybook
38+ working-directory : ./ui
3939 run : |
40- npx playwright install
4140 npm run test-storybook -- --no-index-json --url ${{ steps.chromatic.outputs.storybookUrl }}
42- working-directory : ./ui
You can’t perform that action at this time.
0 commit comments