Skip to content

feat(button): dirty in button #139

feat(button): dirty in button

feat(button): dirty in button #139

Workflow file for this run

name: Chromatic

Check failure on line 1 in .github/workflows/chromatic.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/chromatic.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: chromatic-pull-request, chromatic-push
on:
push:
# branches:
# - main
# - alpha
paths:
- packages/bezier-react/**
pull_request:
# branches:
# - main
# - alpha
paths:
- packages/bezier-react/**
jobs:
chromatic-common:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: yarn
- name: Restore cache
uses: actions/cache@v4
with:
path: |
**/.turbo
node_modules/.cache/turbo
key: ${{ runner.os }}-chromatic-${{ github.sha }}
restore-keys: |
${{ runner.os }}-chromatic-
- name: Install dependencies
run: yarn
- name: Build bezier-react's dependencies
run: yarn build [email protected]/bezier-react^...
- name: Publish to Chromatic
uses: chromaui/action@v11
with:
workingDir: packages/bezier-react
exitZeroOnChanges: true
onlyChanged: ${{ github.event_name == 'push' }}
skip: dependabot/**
projectToken: 06157a6fbe6f
- name: Save PR number and Chromatic build outputs
run: |
mkdir -p ./pr
echo "${{ github.event.pull_request.number }}" > ./pr/prNumber
echo "${{ steps.chromatic.outputs.storybookUrl }}" > ./pr/storybookUrl
echo "${{ steps.chromatic.outputs.buildUrl }}" > ./pr/buildUrl
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: pr
path: pr/
chromatic-push:
# if: github.event_name == 'push' && github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]'
needs: chromatic-common
name: Chromatic Push
runs-on: ubuntu-latest
chromatic-pull-request:
# if: github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]'
needs: chromatic-common
name: Chromatic Pull Request
runs-on: ubuntu-latest