test 3 #10
Workflow file for this run
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 Publish' | |
on: | |
push: | |
branches: | |
- bab-deploy-storybook | |
permissions: | |
contents: read | |
jobs: | |
chromatic: | |
defaults: | |
run: | |
working-directory: ./docs | |
name: Run Chromatic | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Check out repository code" | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Move to ui project | |
run: cd ./frontend/packages/ui | |
- name: test | |
run: ls -la | |
- name: Install dependencies | |
run: cd ./frontend/packages/ui && npm install | |
- name: Run Chromatic | |
uses: chromaui/action@latest | |
env: | |
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
workingDir: ./frontend/packages/ui |