diff --git a/.ado/publish.yml b/.ado/publish.yml index 55d65616f3e158..5c3cd56df94832 100644 --- a/.ado/publish.yml +++ b/.ado/publish.yml @@ -147,7 +147,7 @@ jobs: inputs: script: | cd packages/react-native-macos-init - yarn install + yarn install --frozen-lockfile - task: CmdLine@2 displayName: yarn build diff --git a/.ado/templates/apple-job-javascript.yml b/.ado/templates/apple-job-javascript.yml index 1e85425364518f..ab60d3c523015c 100644 --- a/.ado/templates/apple-job-javascript.yml +++ b/.ado/templates/apple-job-javascript.yml @@ -12,8 +12,10 @@ steps: slice_name: ${{ parameters.slice_name }} xcode_version: ${{ parameters.xcode_version }} - - script: 'yarn install' - displayName: 'yarn install' + - task: CmdLine@2 + displayName: yarn install + inputs: + script: yarn install --frozen-lockfile - task: CmdLine@2 displayName: yarn test-ci [test] diff --git a/.ado/templates/apple-job-react-native.yml b/.ado/templates/apple-job-react-native.yml index ab9723a0e4b927..84a2812165aa55 100644 --- a/.ado/templates/apple-job-react-native.yml +++ b/.ado/templates/apple-job-react-native.yml @@ -27,7 +27,7 @@ steps: - task: CmdLine@2 displayName: yarn install inputs: - script: yarn install + script: yarn install --frozen-lockfile - task: CmdLine@2 displayName: pod install