Skip to content

Commit 8897880

Browse files
committed
ci(chromatic): checkout step missing [run-chromatic]
1 parent 51af129 commit 8897880

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/chromatic.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ jobs:
5454
echo ">>>>GitHub Event Pull Request Head SHA: ${{ github.event.pull_request.head.ref }}"
5555
echo ">>>>Checked out commit: $(git rev-parse HEAD)"
5656
- uses: pnpm/action-setup@v4
57-
with:
58-
version: 10
5957
- name: Install dependencies
6058
# ⚠️ See your package manager's documentation for the correct command to install dependencies in a CI
6159
run: pnpm install
@@ -75,7 +73,11 @@ jobs:
7573
node-version: [22.18.0]
7674
if: >
7775
${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && contains(github.event.head_commit.message, '[run-chromatic]') }}
78-
steps:
76+
steps:
77+
- name: Checkout code
78+
uses: actions/checkout@v4
79+
with:
80+
fetch-depth: 0
7981
- uses: pnpm/action-setup@v4
8082
- name: Install dependencies
8183
# ⚠️ See your package manager's documentation for the correct command to install dependencies in a CI environment.

0 commit comments

Comments
 (0)