From 955201a793344b15d2bddb81e076a2d483f54e1c Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Tue, 6 Sep 2022 18:03:37 -0700 Subject: [PATCH] Tweak Chromatic job --- .github/workflows/chromatic.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index be4ec2e1e..9d5507d53 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -19,18 +19,19 @@ jobs: defaults: run: working-directory: ./web - # Job steps + steps: - - uses: actions/checkout@v3 - name: Check out code + uses: actions/checkout@v3 with: # Make sure the actual branch is checked out when running on pull requests ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} fetch-depth: 0 - - run: npm install --include=dev --force - # 👇 Adds Chromatic as a step in the workflow + - name: Install dependencies + run: npm install + - name: Publish to Chromatic uses: chromaui/action@v1 # Chromatic GitHub Action options