Skip to content

Commit

Permalink
🎨 Oppdatert storybook, fikset chromatic-PR kommentar
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh committed Aug 17, 2023
1 parent e7cb375 commit e58b072
Show file tree
Hide file tree
Showing 3 changed files with 902 additions and 429 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: "github-actions[bot]"
body-includes: github-comment-finder
body-includes: Storybook demo

- name: Create or update comment
if: steps.chromatic_tests.outcome == 'success' && !contains(github.event.head_commit.message, '[ci skip]') && github.event_name != 'push'
Expand All @@ -84,7 +84,7 @@ jobs:
comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
body: |
### [<img id="github-comment-finder" src="https://raw.githubusercontent.com/storybookjs/brand/main/logo/logo-storybook-inverse.svg" height="32"/>](${{steps.storybook_url.outputs.replaced}})
## [Storybook demo](${{steps.storybook_url.outputs.replaced}})
[${{ steps.vars.outputs.sha_short }}](https://github.com/navikt/aksel/commit/${{ steps.vars.outputs.sha_short }}) | ${{steps.chromatic_tests.outputs.componentCount}} komponenter | ${{steps.chromatic_tests.outputs.specCount}} stories
edit-mode: replace
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,22 +211,22 @@
},
"devDependencies": {
"@changesets/cli": "2.26.2",
"@storybook/addon-a11y": "7.2.3",
"@storybook/addon-actions": "7.2.3",
"@storybook/addon-essentials": "7.2.3",
"@storybook/addon-interactions": "7.2.3",
"@storybook/addon-storysource": "7.2.3",
"@storybook/addon-a11y": "7.3.1",
"@storybook/addon-actions": "7.3.1",
"@storybook/addon-essentials": "7.3.1",
"@storybook/addon-interactions": "7.3.1",
"@storybook/addon-storysource": "7.3.1",
"@storybook/addons": "7.2.3",
"@storybook/csf-tools": "7.2.3",
"@storybook/jest": "^0.1.0",
"@storybook/react": "7.2.3",
"@storybook/react-vite": "7.2.3",
"@storybook/csf-tools": "7.3.1",
"@storybook/jest": "^0.2.0",
"@storybook/react": "7.3.1",
"@storybook/react-vite": "7.3.1",
"@storybook/testing-library": "^0.2.0",
"@storybook/theming": "7.2.3",
"@storybook/theming": "7.3.1",
"@svitejs/changesets-changelog-github-compact": "^1.1.0",
"@typescript-eslint/parser": "^5.41.0",
"@whitespace/storybook-addon-html": "^5.1.6",
"chromatic": "6.21.0",
"chromatic": "6.22.0",
"concurrently": "7.2.1",
"cross-env": "^7.0.0",
"eslint": "^8.16.0",
Expand All @@ -244,8 +244,8 @@
"react": "^18.0.0",
"react-docgen-typescript": "2.2.2",
"react-dom": "^18.0.0",
"storybook": "7.2.3",
"stylelint": "^14.8.5",
"storybook": "7.3.1",
"stylelint": "^15.10.2",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^25.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.6.0",
Expand Down
Loading

0 comments on commit e58b072

Please sign in to comment.