Skip to content

Remote control ("Pocket"): self-hosted phone terminal #295

Remote control ("Pocket"): self-hosted phone terminal

Remote control ("Pocket"): self-hosted phone terminal #295

Workflow file for this run

name: Chromatic
on:
push:
branches:
- main
paths:
- 'lib/**'
pull_request:
paths:
- 'lib/**'
permissions:
contents: read
jobs:
chromatic:
name: Visual Regression Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: package.json
- name: Setup pnpm
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
- name: Install dependencies
run: pnpm install
working-directory: lib
- name: Run Chromatic
uses: chromaui/action@98132da0fca2211fb41b3af7b49ce85176007851 # latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
workingDir: lib
buildScriptName: build-storybook
exitZeroOnChanges: true
onlyChanged: true