Skip to content

Slider 컴포넌트 기본 기능 구현 #100

Slider 컴포넌트 기본 기능 구현

Slider 컴포넌트 기본 기능 구현 #100

Workflow file for this run

name: "Chromatic UI Test"
on:
pull_request:
types: [opened, reopened, synchronize]
branches:
- "*"
jobs:
a11y-test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- uses: pnpm/action-setup@v4
with:
run_install: |
- recursive : true
- name: Install Playwright
run: pnpx playwright install --with-deps
- name: Build Storybook
run: pnpm ui build-storybook
- name: Serve Storybook and run tests
run: |
pnpx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"pnpx http-server storybook-static --port 6006" \
"pnpx wait-on tcp:127.0.0.1:9001 && pnpm ui test-storybook --url http://127.0.0.1:9001/"
chromatic:
name: Run Chromatic
needs: a11y-test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Install dependencies
# ⚠️ See your package manager's documentation for the correct command to install dependencies in a CI environment.
run: pnpm install
- name: Run Chromatic
uses: chromaui/action@latest
with:
# ⚠️ Make sure to configure a `CHROMATIC_PROJECT_TOKEN` repository secret
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}