Skip to content

fix zeroes being ignored when calculating min #23

fix zeroes being ignored when calculating min

fix zeroes being ignored when calculating min #23

Workflow file for this run

# Workflow name
name: 'Chromatic'
# Event for the workflow
on: push
# List of jobs
jobs:
chromatic-deployment:
# Operating System
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v1
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Set node version env var
run: echo "NODE_VERSION=$(node --version)" >> $GITHUB_ENV
- uses: actions/cache@v1
id: cache-dependencies
with:
# intentionally cache node_modules instead of yarn cache
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-${{ env.NODE_VERSION }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: yarn --frozen-lockfile
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
workingDir: packages/frontend