Skip to content

Support bookmark folders alignment #582

Support bookmark folders alignment

Support bookmark folders alignment #582

Workflow file for this run

name: storybook
on:
pull_request:
paths:
- .github/workflows/storybook.yaml
- .storybook/**
- src/**
- '*.json'
- '*.config.*'
- pnpm-lock.yaml
push:
branches:
- main
paths:
- .github/workflows/storybook.yaml
- .storybook/**
- src/**
- '*.json'
- '*.config.*'
- pnpm-lock.yaml
jobs:
storycap:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version-file: .node-version
- run: corepack enable pnpm
- run: pnpm i
- run: pnpm run storycap
- uses: int128/upload-artifact-wiki-action@e56d25dd3c64eb34e9314af2e48abcf25505023b # v1.15.0
id: upload-artifact-wiki
with:
path: __screenshots__/**/*.png
- uses: int128/comment-action@a20dbdebd79ab886a1e7a20d16bfa7dbaa732e5a # v1.33.0
with:
update-if-exists: replace
post: |
<table>
<tr>
<td><img src="${{ steps.upload-artifact-wiki.outputs.url }}/__screenshots__/App/component/Primary.png"></td>
<td><img src="${{ steps.upload-artifact-wiki.outputs.url }}/__screenshots__/App/component/Dark.png"></td>
</tr>
<tr>
<td><img src="${{ steps.upload-artifact-wiki.outputs.url }}/__screenshots__/BookmarkEditor/component/Primary.png"></td>
<td><img src="${{ steps.upload-artifact-wiki.outputs.url }}/__screenshots__/Preferences/component/Primary.png"></td>
</tr>
</table>