Skip to content

Commit

Permalink
Ensure we pass --frozen-lockfile (microsoft#1329)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saadnajmi authored and Shawn Dempsey committed Feb 13, 2023
1 parent 4d157c4 commit b94be5f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .ado/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
inputs:
script: |
cd packages/react-native-macos-init
yarn install
yarn install --frozen-lockfile
- task: CmdLine@2
displayName: yarn build
Expand Down
6 changes: 4 additions & 2 deletions .ado/templates/apple-job-javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion .ado/templates/apple-job-react-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b94be5f

Please sign in to comment.