Skip to content

Commit 28d8f25

Browse files
hoxyqfacebook-github-bot
authored andcommitted
fix: update executor for packages publishing workflow (#36146)
Summary: Pull Request resolved: #36146 Changelog: [Internal] - While working on 0.71.3, it was discovered that `react-native-codegen` package is being published almost empty (without `lib` folder) - The reason for it is that `prepare` script is not being executed - The main reason for it is npm v6, which requires adding `unsafe-perm` flag for it: https://www.vinayraghu.com/blog/npm-unsafe-perm - Instead of using this flag, changing executor to `nodelts`, which has node v18 and npm v8 - Also adding `run_yarn` before running the script, because `react-native/codegen` uses external dependencies (such as rimraf) for its build scripts Reviewed By: cipolleschi Differential Revision: D43248175 fbshipit-source-id: d12b93decbf408713e309fe8be75d8d5ec994868
1 parent 0d82b40 commit 28d8f25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,9 +1537,10 @@ jobs:
15371537
echo "Nightly build run"
15381538
15391539
find_and_publish_bumped_packages:
1540-
executor: reactnativeandroid
1540+
executor: nodelts
15411541
steps:
15421542
- checkout
1543+
- run_yarn
15431544
- run:
15441545
name: Set NPM auth token
15451546
command: echo "//registry.npmjs.org/:_authToken=${CIRCLE_NPM_TOKEN}" > ~/.npmrc

0 commit comments

Comments
 (0)