Skip to content

chore(action): install pnpm #3

chore(action): install pnpm

chore(action): install pnpm #3

Workflow file for this run

name: "Chromatic"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 'Install Node'
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install pnpm
run: |
npm install -g pnpm
- name: Install Packages
run: pnpm install
- name: Publish to Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}