Skip to content

Commit

Permalink
Matrix test with two modified component directories
Browse files Browse the repository at this point in the history
  • Loading branch information
BOTLANNER committed Jul 6, 2023
1 parent c0e5783 commit b9399ba
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 32 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/add-screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,6 @@ jobs:
});
console.log(JSON.stringify(files));
if (files.length === 0) {
files.push('Button');
files.push(await getAllComponents());
}
return files;
result-encoding: json
debug: true
Expand Down Expand Up @@ -216,5 +212,4 @@ jobs:
with:
commit_message: Added Missing Screenshots
branch: ${{ env.GITHUB_REF_NAME }}
file_pattern: '*.png'
skip_dirty_check: true
file_pattern: '*.png'
21 changes: 0 additions & 21 deletions src/button/Button.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,6 @@ import '../icon/Icon.js';
const buttonOptions = ['primary', 'secondary', 'clear', 'white'] as const;
const slotPositionOptions = ['left', 'top', 'right', 'bottom'] as const;

export default {
title: 'UI Components/Button',
component: 'omni-button',
argTypes: {
type: {
control: 'radio',
options: buttonOptions
},
slotPosition: {
control: 'radio',
options: slotPositionOptions
},
'slot-position': {
control: false
},
'[Default Slot]': {
control: 'text'
}
}
} as CSFIdentifier;

interface Args {
type: (typeof buttonOptions)[number];
label: string;
Expand Down
5 changes: 0 additions & 5 deletions src/calendar/Calendar.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ import { Calendar } from './Calendar';

import './Calendar.js';

export default {
title: 'UI Components/Calendar',
component: 'omni-calendar'
} as CSFIdentifier;

interface Args {
locale: string;
value: string;
Expand Down

0 comments on commit b9399ba

Please sign in to comment.