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

Commit fdc235a

Browse files
committed
ci: fix chromatic script
1 parent eff7457 commit fdc235a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,14 @@ 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
79-
- run: cd .. && npx yarn bootstrap && cd example
76+
- run: npx yarn bootstrap
8077
- uses: chromaui/action@v1
8178
with:
8279
token: ${{ secrets.GITHUB_TOKEN }}
8380
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
81+
working-directory: example

0 commit comments

Comments
 (0)