Skip to content

Commit 9ca3c3a

Browse files
author
Adam Gleitman
committed
Use Verdaccio in integration pipeline
1 parent 3c8c5b6 commit 9ca3c3a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.ado/apple-integration.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,17 @@ jobs:
7474
cat package.json | jq .devDependencies
7575
displayName: Modify example app dependencies
7676
workingDirectory: react-native-test-app/example
77+
- template: templates/verdaccio-init.yml
78+
- bash: |
79+
npx beachball publish --branch origin/$(System.PullRequest.TargetBranch) --no-push --registry http://localhost:4873 --yes --access public
80+
displayName: Publish beachball packages to verdaccio
81+
- bash: |
82+
cat .yarnrc.yml | sed 's_^npmRegistryServer: ".*"$_npmRegistryServer: "http://localhost:4873"_' > .yarnrc.yml.copy
83+
rm .yarnrc.yml
84+
mv .yarnrc.yml.copy .yarnrc.yml
85+
echo -e '\nunsafeHttpWhitelist: ["localhost"]' >> .yarnrc.yml
86+
displayName: Point react-native-test-app registry to verdaccio server
87+
workingDirectory: react-native-test-app
7788
- bash: |
7889
yarn --no-immutable
7990
displayName: Install npm dependencies

0 commit comments

Comments
 (0)