Skip to content

✨ #262 設定可能な項目が増えていたので以下を参考に追加 #297

✨ #262 設定可能な項目が増えていたので以下を参考に追加

✨ #262 設定可能な項目が増えていたので以下を参考に追加 #297

Workflow file for this run

name: chromatic
on: push
jobs:
chromatic-deployment:
name: Deploy Storybook to chromatic
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install dependencies
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://npm.pkg.github.com'
cache: 'npm'
scope: '@nekochans'
- run: npm ci --legacy-peer-deps
env:
NODE_AUTH_TOKEN: ${{ secrets.AUTH_TOKEN_FOR_GITHUB_PACKAGES }}
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}