Compare commits

...
Author SHA1 Message Date
Halvor Haugan 31ae0e769a test2 2026-11-20 14:10:59 +01:00
Halvor Haugan 3d0e97f6e5 fix4 2026-11-20 11:59:39 +01:00
Halvor Haugan c3d3f4231d fix3 2026-11-20 11:54:27 +01:00
Halvor Haugan a81d2315b2 test change 2026-11-20 11:47:20 +01:00
Halvor Haugan 645e04318a fix2 2026-11-20 11:42:18 +01:00
Halvor Haugan 2bc8ad572a fix1 2026-11-20 10:55:56 +01:00
Halvor Haugan 5f4c53e4a3 ci(Chromatic): fix issue with dead links in PR comment 2026-11-20 10:51:05 +01:00
3 changed files with 6 additions and 5 deletions

No files matched your search

@@ -68,7 +68,7 @@ jobs:
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: "github-actions[bot]"
body-includes: Storybook demo
body-includes: Chromatic
- name: Create or update comment
if: github.event_name != 'push' && !contains(github.event.head_commit.message, '[ci skip]') && github.actor != 'dependabot[bot]'
@@ -77,11 +77,11 @@ jobs:
comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
body: |
## [Storybook demo](${{steps.chromatic_tests.outputs.storybookUrl}}) / [Chromatic](${{steps.chromatic_tests.outputs.url}})
${{ steps.chromatic_tests.outputs.url != 'undefined' && format('## [Storybook demo]({0}) / [Chromatic]({1})', steps.chromatic_tests.outputs.storybookUrl, steps.chromatic_tests.outputs.url) || '## Chromatic skipped' }}
${{ steps.chromatic_tests.outputs.changeCount > 0 && format('### 📝 Changes to review: {0}', steps.chromatic_tests.outputs.changeCount) || '' }}
${{ steps.chromatic_tests.outputs.errorCount > 0 && format('### ❌ Stories with errors: {0}', steps.chromatic_tests.outputs.errorCount) || '' }}
${{ steps.chromatic_tests.outputs.interactionTestFailuresCount > 0 && format('### ❌ Failed interaction tests: {0}', steps.chromatic_tests.outputs.interactionTestFailuresCount) || '' }}
[${{ steps.vars.outputs.sha_short }}](https://github.com/navikt/aksel/commit/${{ steps.vars.outputs.sha_short }}) | ${{steps.chromatic_tests.outputs.componentCount}} components | ${{steps.chromatic_tests.outputs.specCount}} stories
[${{steps.vars.outputs.sha_short}}](https://github.com/navikt/aksel/commit/${{steps.vars.outputs.sha_short}}) | ${{steps.chromatic_tests.outputs.componentCount}} components | ${{steps.chromatic_tests.outputs.specCount}} stories | ${{steps.chromatic_tests.outputs.actualCaptureCount}} captured snapshots | ${{steps.chromatic_tests.outputs.inheritedCaptureCount}} inherited snapshots
edit-mode: replace
+1 -1
View File
@@ -6,7 +6,7 @@ const metadata: ComponentMetadata = {
components: {
Button,
},
keywords: ["button", "knapp", "cta", "action", "submit"],
keywords: ["button", "knapp", "cta", "action", "submit", "test-change"],
};
export { metadata };
@@ -317,6 +317,7 @@ export const Chromatic: Story = {
<VStack gap="space-24" align="center">
<div>
<h2>Medium</h2>
test change
<ButtonGrid size="medium" />
</div>
<div>