Skip to content

Commit e20436a

Browse files
committed
fix(0.81, ci): Use yarn for npm publish
1 parent b9201ac commit e20436a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.ado/jobs/npm-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- name: BUILDSECMON_OPT_IN
1010
value: true
1111
- name: USE_YARN_FOR_PUBLISH
12-
value: false
12+
value: true
1313

1414
timeoutInMinutes: 90
1515
cancelTimeoutInMinutes: 5
@@ -80,8 +80,8 @@ jobs:
8080
yarn config set npmPublishRegistry "https://registry.npmjs.org"
8181
yarn config set npmAuthToken $(npmAuthToken)
8282
echo "Publishing with yarn npm publish"
83-
yarn ./packages/virtualized-lists npm publish --tag $(publishTag)
84-
yarn ./packages/react-native npm publish --tag $(publishTag)
83+
yarn ./packages/virtualized-lists npm publish --tolerate-republish --tag $(publishTag)
84+
yarn ./packages/react-native npm publish --tolerate-republish --tag $(publishTag)
8585
else
8686
echo "Publishing with npm publish"
8787
npm publish ./packages/virtualized-lists --tag $(publishTag) --registry https://registry.npmjs.org/ --//registry.npmjs.org/:_authToken=$(npmAuthToken)

0 commit comments

Comments
 (0)