Skip to content

React 18

React 18 #5289

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- master
pull_request:
jobs:
test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v1
with:
node-version: 14
- run: yarn
- run: yarn prettier-check
- run: NODE_ENV=production PUBLIC_PATH=/ STORYBOOK_ENV=chromatic yarn build
- run: yarn test
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: 5ef54a1fca5c
exitZeroOnChanges: true
autoAcceptChanges: 'master'
buildScriptName: 'build-chromatic'
env:
STORYBOOK_ENV: 'chromatic'