diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 09ba9f4c4c..ccaf9a1a6a 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -12,6 +12,11 @@ jobs: runs-on: ubuntu-20.04 steps: + - name: Checkout repo + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + with: + fetch-depth: 0 + - name: Get Node Version id: retrieve-node-version run: | @@ -24,11 +29,6 @@ jobs: with: node-version: ${{ steps.retrieve-node-version.outputs.node_version }} - - name: Checkout repo - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - with: - fetch-depth: 0 - - name: Cache npm id: npm-cache uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1