Skip to content

remove shim from main pkg #11453

remove shim from main pkg

remove shim from main pkg #11453

Workflow file for this run

name: 'chromatic'
on: push
jobs:
chromatic:
if: ${{ github.actor != 'dependabot[bot]' && github.ref == 'refs/heads/main' || contains(github.event.head_commit.message, '[ci chromatic]') }}
runs-on: ubuntu-latest
env:
CYPRESS_INSTALL_BINARY: 0
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js environment
uses: actions/setup-node@v4.1.0
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Publish to Chromatic
uses: chromaui/action@v11
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
buildScriptName: 'build:storybook'
skip: 'dependabot/**'
env:
STORYBOOK_ENV: chromatic
NODE_OPTIONS: '--max-old-space-size=4096'