Skip to content

Commit

Permalink
Bump the patternfly group in /ui with 7 updates (#994)
Browse files Browse the repository at this point in the history
* Bump the patternfly group in /ui with 7 updates

Bumps the patternfly group in /ui with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [@patternfly/patternfly](https://github.com/patternfly/patternfly) | `5.3.1` | `5.4.0` |
| [@patternfly/react-charts](https://github.com/patternfly/patternfly-react) | `7.3.0` | `7.4.0` |
| [@patternfly/react-core](https://github.com/patternfly/patternfly-react) | `5.3.4` | `5.4.0` |
| [@patternfly/react-drag-drop](https://github.com/patternfly/patternfly-react) | `5.3.4` | `5.4.0` |
| [@patternfly/react-icons](https://github.com/patternfly/patternfly-react) | `5.3.2` | `5.4.0` |
| [@patternfly/react-table](https://github.com/patternfly/patternfly-react) | `5.3.4` | `5.4.0` |
| [@patternfly/react-tokens](https://github.com/patternfly/patternfly-react) | `5.3.1` | `5.4.0` |


Updates `@patternfly/patternfly` from 5.3.1 to 5.4.0
- [Release notes](https://github.com/patternfly/patternfly/releases)
- [Changelog](https://github.com/patternfly/patternfly/blob/main/release.config.js)
- [Commits](patternfly/patternfly@patch-v5.3.1...v5.4.0)

Updates `@patternfly/react-charts` from 7.3.0 to 7.4.0
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/[email protected]...@patternfly/[email protected])

Updates `@patternfly/react-core` from 5.3.4 to 5.4.0
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/[email protected]...@patternfly/[email protected])

Updates `@patternfly/react-drag-drop` from 5.3.4 to 5.4.0
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/[email protected]...@patternfly/[email protected])

Updates `@patternfly/react-icons` from 5.3.2 to 5.4.0
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/[email protected]...@patternfly/[email protected])

Updates `@patternfly/react-table` from 5.3.4 to 5.4.0
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/[email protected]...@patternfly/[email protected])

Updates `@patternfly/react-tokens` from 5.3.1 to 5.4.0
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/[email protected]...@patternfly/[email protected])

---
updated-dependencies:
- dependency-name: "@patternfly/patternfly"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: patternfly
- dependency-name: "@patternfly/react-charts"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: patternfly
- dependency-name: "@patternfly/react-core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: patternfly
- dependency-name: "@patternfly/react-drag-drop"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: patternfly
- dependency-name: "@patternfly/react-icons"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: patternfly
- dependency-name: "@patternfly/react-table"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: patternfly
- dependency-name: "@patternfly/react-tokens"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: patternfly
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix: add "root" div to UI layout

Signed-off-by: Michael Edgar <[email protected]>

* storybook action updates

Signed-off-by: Michael Edgar <[email protected]>

* Add preview-body with div required by patternfly

Signed-off-by: Michael Edgar <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Michael Edgar <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Edgar <[email protected]>
  • Loading branch information
dependabot[bot] and MikeEdgar authored Sep 3, 2024
1 parent 4138922 commit 9578275
Show file tree
Hide file tree
Showing 5 changed files with 308 additions and 365 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,24 @@ jobs:
with:
fetch-depth: 0

- name: Install Dependencies
run: npm install
working-directory: ./ui

- name: Build Storybook
run: npm run build-storybook
working-directory: ./ui
run: |
npm ci
npx playwright install
npm run build-storybook
- name: Publish to Chromatic
id: chromatic
uses: chromaui/action@v11
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: chpt_0314d7b0d66ad0c
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
storybookBuildDir: "storybook-static"
workingDir: "./ui"
exitOnceUploaded: true

- name: Test the deployed Storybook
- name: Test Storybook
working-directory: ./ui
run: |
npx playwright install
npm run test-storybook -- --no-index-json --url ${{ steps.chromatic.outputs.storybookUrl }}
working-directory: ./ui
1 change: 1 addition & 0 deletions ui/.storybook/preview-body.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<div id="root"></div>
4 changes: 3 additions & 1 deletion ui/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ type Props = {
export default function RootLayout({ children }: Props) {
return (
<html lang="en">
<body>{children}</body>
<body>
<div id="root">{children}</div>
</body>
</html>
);
}
Loading

0 comments on commit 9578275

Please sign in to comment.