Skip to content

chore(deps): update actions/upload-artifact action to v4 #1571

chore(deps): update actions/upload-artifact action to v4

chore(deps): update actions/upload-artifact action to v4 #1571

Workflow file for this run

name: 'Chromatic'
on:
push:
workflow_dispatch:
inputs:
sha:
description: The SHA-1 hash referring to the commit to check.
required: true
ref:
description: The head branch associated with the pull request.
required: true
jobs:
chromatic-deployment:
env:
CI: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
- uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0
name: Install pnpm
id: pnpm-install
with:
run_install: false
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
with:
node-version-file: .nvmrc
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Install dependencies
run: pnpm install
- name: Publish to Chromatic
uses: chromaui/action@a4f19141da0fc13a3c18e489d2c16ea7320eb17f # v10
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
onlyChanged: true
skip: '@(renovate/**|l10_**)'