diff --git a/.github/workflows/chromatic.yaml b/.github/workflows/chromatic.yaml index e52122be..ac0ed605 100644 --- a/.github/workflows/chromatic.yaml +++ b/.github/workflows/chromatic.yaml @@ -15,6 +15,11 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: npm - name: Install dependencies run: npm ci - name: Publish to Chromatic diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 23bfb6f3..862f7311 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -56,7 +56,7 @@ jobs: run: npm run build:docs - id: commit_and_push - name: Commit and push changes + name: Commit and push docs if: steps.changesets.outputs.published == 'true' run: | git config --global user.name 'github-actions[bot]'