diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 5ec439b8..2ddc33ec 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -10,8 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - run: yarn - - uses: chromaui/action@v1 + + - name: Install dependencies + run: pnpm + working-directory: storybook-app + + - name: Publish to Chromatic + uses: chromaui/action@v1 with: + workingDir: storybook-app projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} - token: ${{ secrets.GITHUB_TOKEN }}