This repository was archived by the owner on Feb 28, 2025. It is now read-only.
⬆️ Bump next from 13.2.3 to 14.2.21 #1038
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
# .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" |