Skip to content

Merge pull request #928 from SelectQuoteLabs/build-fix-test #301

Merge pull request #928 from SelectQuoteLabs/build-fix-test

Merge pull request #928 from SelectQuoteLabs/build-fix-test #301

Workflow file for this run

name: Deploy Storybook
on:
push:
branches:
- master
jobs:
storybook:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Required to retrieve git history
- uses: actions/setup-node@v2-beta
with:
node-version: '16'
- run: npm --prefix ./SQFormDocs/ ci # Installs node_modules in SQFormDocs directory as well
- run: npm ci
- run: npm run build-storybook
- uses: chromaui/action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
buildScriptName: build-storybook