Skip to content

⬆️ Bump the npm_and_yarn group across 2 directories with 13 u… #1035

⬆️ Bump the npm_and_yarn group across 2 directories with 13 u…

⬆️ Bump the npm_and_yarn group across 2 directories with 13 u… #1035

Workflow file for this run

# .github/workflows/chromatic.yml
# Workflow name
name: 'Chromatic'
# Event for the workflow
on: push
env:
# 7 GiB by default on GitHub, setting this to 16 GiB
NODE_OPTIONS: --max-old-space-size=16384
# List of jobs
jobs:
chromatic-deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
# Setup .npmrc file to publish to npm
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'yarn'
- name: Install dependencies
run: yarn install
# This omits the build of Playground
- name: Build packages
run: yarn build:packages
- name: Build Storybook
run: STORYBOOK_WALLET_CONNECT_PROJECT_ID=${{ secrets.STORYBOOK_WALLET_CONNECT_PROJECT_ID }} yarn build-storybook
- name: Publish to Chromatic
run: npx chromatic --project-token=${{ secrets.CHROMATIC_PROJECT_TOKEN }} --storybook-build-dir="./storybook-static"