Skip to content

스토리북 chromatic 배포 분리 및 설정 구현 #10

스토리북 chromatic 배포 분리 및 설정 구현

스토리북 chromatic 배포 분리 및 설정 구현 #10

name: UI Package Test
on:
pull_request:
types: [opened, synchronize, reopened]
branches: [main, develop]
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/ui
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Setup Yarn
run: |
corepack enable
corepack prepare [email protected] --activate
- name: Install dependencies
run: yarn install --immutable
- name: Run tests
run: |
yarn add -D jest @testing-library/jest-dom @testing-library/dom @testing-library/react
yarn test