Skip to content

chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 #245

chore(deps): bump cross-spawn from 7.0.3 to 7.0.6

chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 #245

name: Visual Testing
on:
push:
jobs:
chromatic:
name: chromatic
runs-on: ubuntu-latest
if: contains(github.actor, 'renovate') == false
steps:
- name: Cancel Workflow Action
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm
- name: Use Node.js ${{ env.NVMRC }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NVMRC }}
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
run_install: false
- name: Get pnpm store directory
shell: bash
run: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Run Chromatic
uses: chromaui/action@latest
with:
buildScriptName: "build:docs"
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
onlyChanged: true
skip: "renovate/**"
exitOnceUploaded: true
autoAcceptChanges: "master"
exitZeroOnChanges: true