diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 5ec439b8..c738c6dd 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -1,17 +1,18 @@ -name: 'Chromatic Deployment' +name: 'Chromatic' -on: - # 원하는 브랜치 명으로 바꿔주시면 됩니다. - push: - branches: ['develop'] +push: + branches: ['develop'] jobs: - test: + chromatic-deployment: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - run: yarn - - uses: chromaui/action@v1 + - name: Install dependencies + + run: pnpm + - name: Publish to Chromatic + uses: chromaui/action@v1 + with: projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} - token: ${{ secrets.GITHUB_TOKEN }}