fix: test storybook action (#35585)
## Description Example of a successful pass: https://github.com/appsmithorg/appsmith/actions/runs/10321826794/job/28575617540 ## Automation /ok-to-test tags="" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!CAUTION] > If you modify the content in this section, you are likely to disrupt the CI result for your PR. <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Streamlined GitHub Actions workflow for testing Storybook by consolidating Playwright installation and removing redundant steps. - Enhanced clarity and efficiency of the testing process. - **Style** - Updated button component styles by disabling rounded corners, reflecting a potential shift in design strategy. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
parent
42debc6d11
commit
8bf6df5272
20
.github/workflows/test-storybook.yml
vendored
20
.github/workflows/test-storybook.yml
vendored
|
|
@ -38,18 +38,12 @@ jobs:
|
|||
|
||||
- name: Install Dependencies
|
||||
working-directory: ./app/client/packages/storybook
|
||||
run: yarn install --immutable
|
||||
run: |
|
||||
yarn install --immutable
|
||||
npx playwright install --with-deps
|
||||
|
||||
- name: Storybook Tests
|
||||
id: Test Storybook
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: app/client/package.json
|
||||
|
||||
- name: Install Playwright
|
||||
run: npx playwright install --with-deps
|
||||
|
||||
- name: Serve Storybook and run tests
|
||||
with:
|
||||
workingDir: ./app/client/packages/storybook
|
||||
buildScriptName: "test-storybook:ci"
|
||||
working-directory: ./app/client/packages/storybook
|
||||
run: |
|
||||
yarn build-storybook
|
||||
yarn test-storybook:ci
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user