Skip to content

Commit

Permalink
Add snapshot testing for profile storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
JunichiSugiura committed Jan 21, 2025
1 parent 512a687 commit 38c55b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ jobs:
ui:
- 'packages/ui-next/**'
- 'packages/keychain/**'
- 'packages/profile/**'
- '**/package.json'
- '**/pnpm-lock.yaml'
Expand Down Expand Up @@ -146,6 +147,7 @@ jobs:
# Check both packages
check_snapshots "keychain" "packages/keychain/__image_snapshots__"
check_snapshots "profile" "packages/profile/__image_snapshots__"
check_snapshots "ui-next" "packages/ui-next/__image_snapshots__"
# Set environment variables
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.storybook
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ WORKDIR /app
# Copy package files for installation
COPY package.json pnpm-lock.yaml ./
COPY packages/keychain/package.json ./packages/keychain/
COPY packages/profile/package.json ./packages/profile/
COPY packages/ui-next/package.json ./packages/ui-next/

# Install dependencies
Expand Down
1 change: 0 additions & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ catalog:
postcss: "^8.4.35"
postcss-import: "^16.1.0"
prettier: "^3.4.2"
query-string: "^71.1"
react: "^19.0.0"
react-dom: "^19.0.0"
react-query: "^3.39.2"
Expand Down

0 comments on commit 38c55b1

Please sign in to comment.