Skip to content

Run Chromatic on PRs, update GitHub Actions + Dependabot #800

Run Chromatic on PRs, update GitHub Actions + Dependabot

Run Chromatic on PRs, update GitHub Actions + Dependabot #800

Workflow file for this run

name: CI Build
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Enable corepack
run: corepack enable
- name: Set up Node.js
uses: actions/setup-node@v5
with:
cache: yarn
node-version-file: .nvmrc
- name: Yarn Install
run: yarn
- name: Lint
run: yarn lint
- name: Jest Tests
run: yarn test --coverage
- name: Typescript build
run: yarn build
- name: Deploy Storybook
uses: chromaui/action@v11
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}