-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Self-service
- I'd be willing to implement a fix
Describe the bug
I have a repo using zero installs approach that requires one unplugged package (@swc-core)
its unplugged as it appears to require platform specific binaries. My CI environment is a linux env, whereas local is mac
I added the specific platforms to the supportedArchitectures field in my .yarnrc.yml
I had hoped/expected that with zero-installs the platform specific binaries would have been installed/added to the repo on local install so that when i run my ci i do not need to do a yarn install step (in keeping with the zero installs approach)
This may be the intended behaviour, but then how do I maintain zero installs in this case?
To reproduce
I don't believe this can be reproduced in sherlock due to the cross platform nature of the issue
Environment
System:
OS: macOS 11.6.5
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Binaries:
Node: 16.15.1 - /private/var/folders/bl/q3538n111qsck6ll41877f440000gp/T/xfs-d4f8e23c/node
Yarn: 3.2.1 - /private/var/folders/bl/q3538n111qsck6ll41877f440000gp/T/xfs-d4f8e23c/yarn
npm: 8.11.0 - ~/.nvm/versions/node/v16.15.1/bin/npmAdditional context
Here's the ci error if i do not include yarn install step
Yarnrc file
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
yarnPath: .yarn/releases/yarn-3.2.1.cjs
supportedArchitectures:
os:
- darwin
- linux
