Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Merge pull request #30 from qatalog/dependabot/npm_and_yarn/example/s… #73

Merge pull request #30 from qatalog/dependabot/npm_and_yarn/example/s…

Merge pull request #30 from qatalog/dependabot/npm_and_yarn/example/s… #73

Workflow file for this run

name: Chromatic
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: chromatic-${{ github.ref }}-${{ github.event_name == 'push' && github.run_number }}
cancel-in-progress: true
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- name: setup node
uses: actions/setup-node@v2
with:
node-version: 14
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: cache deps
uses: actions/cache@v2
id: cache
with:
path: "**/node_modules"
key: deps-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
deps-
- name: install deps
run: yarn --frozen-lockfile
- name: chromatic
uses: chromaui/action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitZeroOnChanges: true
exitOnceUploaded: true