fix: avoid unnecessary scrolling with fractional sizes #91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Chromatic | |
on: | |
push: | |
branches-ignore: | |
- 'dependabot/**' | |
permissions: read-all | |
jobs: | |
chromatic: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # tag=v4.1.0 | |
with: | |
fetch-depth: 0 | |
- name: Setup node | |
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # tag=v3.8.1 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
run: | | |
npm ci | |
npx lerna run prepack | |
- name: Publish to Chromatic | |
uses: chromaui/action@807600692d28833b717c155e15ed20905cdc865c # tag=v1 | |
with: | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
onlyChanged: true | |
exitOnceUploaded: true |