Skip to content

Commit

Permalink
chore(ci): set default working directory of chromatic workflow (#5051)
Browse files Browse the repository at this point in the history
so chromatic's `npm i` step does not take unnecessary runtime (and also
reduces chance of Turbosnap not working properly due to root's
`package.lock` changes)
  • Loading branch information
karrui authored Oct 6, 2022
1 parent 3d4f022 commit f74fa57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
# Workflow name
name: 'Chromatic'

defaults:
run:
working-directory: frontend

# Event for the workflow
on: push

Expand Down

0 comments on commit f74fa57

Please sign in to comment.