Skip to content

chore: update the color #10

chore: update the color

chore: update the color #10

Workflow file for this run

name: "Percy"
on:
pull_request:
branches:
- main
types:
- opened
- synchronize
- reopened
jobs:
build:
if: github.event.pull_request.base.ref == 'main' && github.event.pull_request.head.ref == 'release'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20" # or whatever version you're using
- name: Install dependencies
run: npm install # or npm install, depending on your package manager
- name: Instanll percy
run: npm add @percy/cli @percy/storybook
- name: Build storybook
run: npm run build-storybook
- name: Run visual testing
run: npx percy storybook ./storybook-static
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}