diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 2c39c55..fef1440 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -11,10 +11,10 @@ jobs: fetch-depth: 0 - uses: pnpm/action-setup@v2 with: - version: 7 + version: 9 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 cache: 'pnpm' - run: pnpm i - name: Publish to Chromatic @@ -24,6 +24,7 @@ jobs: projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} onlyChanged: true traceChanged: true + buildScriptName: build-storybook - name: Publish Summary run: echo -e "| Results | |\n| --- | --- |\n| Build Results | ${{steps.chromatic.outputs.buildUrl}} |\n| Storybook Preview | ${{steps.chromatic.outputs.storybookUrl}} |\n| Component Count | ${{steps.chromatic.outputs.componentCount}} |" >> $GITHUB_STEP_SUMMARY