Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 25c291f

Browse files
authored
ci: run chromatic manually
1 parent 083db81 commit 25c291f

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,13 @@ jobs:
6868
needs: [test]
6969
name: Publish storybook to chromatic 🧪
7070
runs-on: ubuntu-latest
71-
defaults:
72-
run:
73-
working-directory: example
7471
steps:
7572
- uses: actions/checkout@v2
7673
- uses: actions/setup-node@v1
7774
with:
7875
node-version: 12.x
7976
- run: npx yarn bootstrap
80-
working-directory: ../
81-
- uses: chromaui/action@v1
82-
with:
83-
token: ${{ secrets.GITHUB_TOKEN }}
84-
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
77+
- run: npx yarn chromatic
78+
working-directory: example
79+
env:
80+
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}

0 commit comments

Comments
 (0)