Browse Source

Move checkout step before getting Node version (#6500)

pull/6506/head
Vince Grassia 2 years ago committed by GitHub
parent
commit
a91a39fe80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      .github/workflows/chromatic.yml

10
.github/workflows/chromatic.yml

@ -12,6 +12,11 @@ jobs: @@ -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: @@ -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

Loading…
Cancel
Save