+ - For the `build-packages.js` script, you might need to conditionally copy GitHub CI's `.npmrc` file to all of the workspace folders. This logic would be added to the `addNPMFilesTo()` function. (The condition is that this should only happen on CI. You can check GitHub CI's `process.env.CI` environment variable for this.) Then you can try `npm publish --workspaces --provenance --access=public` (after running the build script). But if you're unsure about how reliable the `--workspaces` option is, perhaps you can try looping through the folders on CI instead? (Let's hope that `--workspaces` works just fine...)
0 commit comments