Skip to content

Commit

Permalink
Update README and snapshot testing
Browse files Browse the repository at this point in the history
  • Loading branch information
JunichiSugiura committed Jan 21, 2025
1 parent b9daa55 commit c45e317
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
with:
filters: |
ui:
- 'packages/ui-next/**'
- 'packages/ui/**'
- 'packages/keychain/**'
- '**/package.json'
- '**/pnpm-lock.yaml'
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
# Check both packages
check_snapshots "keychain" "packages/keychain/__image_snapshots__"
check_snapshots "ui-next" "packages/ui-next/__image_snapshots__"
check_snapshots "ui" "packages/ui/__image_snapshots__"
# Set environment variables
if [ -s diff_info.txt ]; then
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
// Group changes by package and type
const changes = {
'ui-next': { diffs: [], updates: [] },
'ui': { diffs: [], updates: [] },
'keychain': { diffs: [], updates: [] }
};
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.storybook
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ WORKDIR /app
# Copy package files for installation
COPY package.json pnpm-lock.yaml ./
COPY packages/keychain/package.json ./packages/keychain/
COPY packages/ui-next/package.json ./packages/ui-next/
COPY packages/ui/package.json ./packages/ui/

# Install dependencies
RUN pnpm install --frozen-lockfile
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
### Storybook

```sh
pnpm ui:next storybook
pnpm ui storybook
```

### Generate shadcn component

```sh
cd packages/ui-next
cd packages/ui
pnpm dlx shadcn-ui@latest add <component-name>
pnpm format
```

0 comments on commit c45e317

Please sign in to comment.