Hi, I am trying to publish to chromatic and have added the configs to my bitbucket pipeline but I am getting the following error...
<span>error Couldn't find a package.json file in "/opt/atlassian/pipelines/agent/build"</span>
<span>info Visit <a href="https://yarnpkg.com/en/docs/cli/run" rel="noopener nofollow noreferrer" target="_blank">https://yarnpkg.com/en/docs/cli/run</a> for documentation about this command.</span><span>yarn run v1.22.5</span>
My pipeline is below, I have removed the token for the purpose of posting this question. Any advise is welcome.
# 👇 Adds Chromatic as a step
- step:
name: 'Publish to Chromatic'
caches:
- node
script:
- yarn install
# 👇 Runs Chromatic
- yarn chromatic --project-token=XXX