Skip to content

Commit

Permalink
chore: chromatic.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ingdaeho committed Mar 12, 2024
1 parent 288fb2c commit 6ffd3f5
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,29 @@ on: push

# List of jobs
jobs:
test:
chromatic-deployment:
# Operating System
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [15]
# Job steps
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- run: pnpm install
#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
Expand Down

0 comments on commit 6ffd3f5

Please sign in to comment.