We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87f7adc commit 33d4a68Copy full SHA for 33d4a68
.ado/jobs/npm-publish.yml
@@ -77,13 +77,7 @@ jobs:
77
condition: and(succeeded(), eq(variables['publish_react_native_macos'], '1'))
78
79
- script: |
80
- # Check and unset npmAuthToken if it exists
81
- if [ "$(yarn config npmAuthToken --json | jq -r '.effective')" != "null" ]; then
82
- yarn config unset npmAuthToken
83
- fi
84
- # Check and unset npmPublishRegistry if it exists
85
- if [ "$(yarn config npmPublishRegistry --json | jq -r '.effective')" != "null" ]; then
86
- yarn config unset npmPublishRegistry
87
+ yarn config unset npmAuthToken
+ yarn config unset npmPublishRegistry
88
displayName: Unset npm configuration
89
condition: always()
0 commit comments