Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 6 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,6 @@ on:
branches: [next]

jobs:
ci:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 8

- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- name: Install dependencies
run: pnpm install

- name: Type check
run: pnpm check

- name: Lint
run: pnpm lint

- name: Unit tests
run: pnpm test:unit --run

chromatic:
runs-on: ubuntu-latest
steps:
Expand All @@ -53,6 +26,12 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Sync SvelteKit
run: pnpm exec svelte-kit sync

- name: Generate SVG sprites
run: pnpm exec tsx --tsconfig tsconfig.json -e "const {WebkitSvg} = await import('./plugins/vite.ts'); await WebkitSvg().buildStart();"

- name: Chromatic
uses: chromaui/action@latest
with:
Expand Down
2 changes: 0 additions & 2 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type { StorybookConfig } from '@storybook/sveltekit'

import { mergeConfig } from 'vite'

import { WebkitSvg } from '../plugins/vite.js'

const config: StorybookConfig = {
stories: ['../src/stories/**/*.mdx', '../src/stories/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
Expand All @@ -24,7 +23,6 @@ const config: StorybookConfig = {

async viteFinal(config) {
const result = mergeConfig(config, {
plugins: [WebkitSvg()],
sever: {
fs: { allow: ['../'] },
},
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ui/core/Button/Button.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
)

const button = tv({
base: 'flex items-center cursor-pointer gap-2 rounded-md',
base: 'flex items-center cursor-pointer gap-2 rounded-xl',
variants: {
children: { false: '' },
icon: { false: '' },
Expand Down
Loading