Skip to content

Commit

Permalink
Ensure we pass --frozen-lockfile (#1329)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saadnajmi authored Aug 5, 2022
1 parent 0f665ba commit 3b1f575
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 @@ -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
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 3b1f575

Please sign in to comment.