Skip to content

Merge pull request #243 from CivicDataLab/d4d #110

Merge pull request #243 from CivicDataLab/d4d

Merge pull request #243 from CivicDataLab/d4d #110

Workflow file for this run

name: 'OPub UI'
on:
push:
paths:
- 'packages/opub-ui/**'
branches:
- main
jobs:
chromatic-deployment:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
node-version: 18
fetch-depth: 0 # Required to retrieve git history
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Publish Library to Chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
workingDir: packages/opub-ui
onlyChanged: true
externals: packages/(icons/icons|tokens/src)/**