Build(deps): Bump the storybook group across 1 directory with 6 updates #1655
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Chromatic | |
on: | |
push: | |
branches: | |
- main | |
- master | |
pull_request: | |
branches: | |
- main | |
- master | |
jobs: | |
chromatic-deployment: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Required by Chromatic | |
- name: Read .nvmrc | |
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)" | |
id: nvm | |
- name: Use Node.js | |
uses: actions/setup-node@v4.0.2 | |
with: | |
node-version: '${{ steps.nvm.outputs.NVMRC }}' | |
- name: Install dependencies | |
run: yarn workspaces focus | |
working-directory: packages/storybook | |
- name: Publish to Chromatic | |
uses: chromaui/action@v11 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
projectToken: d767f97cc408 | |
buildScriptName: build | |
workingDir: packages/storybook | |
onlyChanged: true |