[chore] use explicit yarn in clean script (#1216)

I was finding that `npx yarn` was causing yarn v1 to be used for some
reason
This commit is contained in:
David Sheldrick 2023-05-02 14:33:30 +01:00 committed by GitHub
parent e81e269e72
commit 4242f6ee3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ rm -rf {packages,apps,bublic/packages,bublic/apps}/vscode/extension/temp
rm -rf {packages,apps,bublic/packages,bublic/apps}/vscode/extension/editor
rm -rf bublic/apps/docs/content.json
# need to run yarn via npx
# need to run yarn directly
# because yarn messes with the PATH, aliasing itself to some tmp dir
# which is apparently deleted by our clean script
npx yarn
node "$(dirname -- "$0")/../.yarn/releases/yarn-3.5.0.cjs"