Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev committed Jan 3, 2025
1 parent f0d994c commit 4edb096
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: docker/setup-qemu-action@v3

- uses: docker/setup-buildx-action@v3

- uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
Expand All @@ -36,7 +40,7 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=sha,format=long
type=sha,format=short
type=ref,event=branch
type=ref,event=pr
type=raw,value=latest,enable={{is_default_branch}}
Expand All @@ -48,3 +52,4 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
8 changes: 8 additions & 0 deletions Dockerfile.storybook
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,13 @@ RUN Xvfb :99 -screen 0 1280x1024x24 2>/dev/null &

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/

# Install dependencies
RUN pnpm install --frozen-lockfile

# Default command that can be overridden
CMD ["bash"]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions scripts/update-storybook-snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ docker run \
--rm \
-v "$(pwd)":/app \
-v /app/node_modules \
-it \
ghcr.io/cartridge-gg/controller/storybook-env:sha-b6d96629787539de6f5e464aafedafd4eb3ffcc7 \
--ipc=host \
storybook-env \
bash -c "
pnpm install --frozen-lockfile && \
pnpm test:storybook:update
Expand Down

0 comments on commit 4edb096

Please sign in to comment.