Skip to content

chore: set Base / Base Sepolia as first config instead of Polygon / Amoy #1215

chore: set Base / Base Sepolia as first config instead of Polygon / Amoy

chore: set Base / Base Sepolia as first config instead of Polygon / Amoy #1215

Workflow file for this run

name: "Chromatic"
on: push
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Make envfile
uses: SpicyPizza/create-envfile@v2.0
with:
envkey_REACT_APP_WALLET_CONNECT_PROJECT_ID: ${{ secrets.REACT_APP_WALLET_CONNECT_PROJECT_ID }}
envkey_STORYBOOK_REACT_APP_INFURA_KEY: ${{ secrets.REACT_APP_INFURA_KEY }}
envkey_STORYBOOK_REACT_APP_MAGIC_API_KEY: ${{ secrets.REACT_APP_MAGIC_API_KEY }}
envkey_STORYBOOK_DATA_IPFS_JWT: ${{ secrets.REACT_APP_PINATA_JWT }}
envkey_STORYBOOK_DATA_IPFS_GATEWAY: ${{ secrets.REACT_APP_IPFS_GATEWAY }}
# A dedicated *.mypinata.cloud gateway answers 403 without its token,
# which would leave every story with no metadata and no images.
envkey_STORYBOOK_DATA_IPFS_GATEWAY_TOKEN: ${{ secrets.REACT_APP_IPFS_GATEWAY_TOKEN }}
directory: ./packages/react-kit
file_name: .env
- name: Install dependencies
run: npm ci
- id: build
run: npm run build -- --cache-dir=".turbo"
- name: Publish to Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
workingDir: packages/react-kit