Skip to content

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

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

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

name: UI Package Test
on:
pull_request:
branches: [main, develop]
pull_request_target:
types: [synchronize]
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