Skip to content

chore(deps): update node.js to v22 #518

chore(deps): update node.js to v22

chore(deps): update node.js to v22 #518

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@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
- run: corepack enable pnpm
- run: pnpm i
- run: pnpm run storycap
- uses: int128/upload-artifact-wiki-action@v1
id: upload-artifact-wiki
with:
path: __screenshots__/**/*.png
- uses: int128/comment-action@v1
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>