https://stackblitz.com/edit/github-e9sos1?file=packages%2Fclient%2Fpackage.json
When the binary of a dev dependency of a package in a monorepo is used in a GitHub actions workflow (using yarn --cwd
), the binary is reported as unlisted.
packages/client/package.json
:
"scripts": {
"svelte-check": "svelte-check --workspace test"
},
"devDependencies": {
"svelte-check": "^3.2.0"
},
.github/workflows/node.yml
:
- name: Svelte Check
run: yarn --cwd packages/client svelte-check
shell: bash
Output:
❯ yarn knip
yarn run v1.22.19
$ knip
Unlisted binaries (1)
svelte-check .github/workflows/node.yml
error Command failed with exit code 1.
For reference, I ran into this issue as part of statelyai/xstate#4974. Planned workaround is to add .github/workflows/node.yml
to ignore
for now.
I would expect no error to be reported.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too