Skip to content

Commit 591033e

Browse files
watsonszegedi
authored andcommitted
[CI] Do not allow yarn.lock to be updated in CI (#5135)
If the user updates package.json in a PR, we need to ensure that the yarn.lock file is also updated in the same PR. This change will fail the `yarn install` command in case the yarn.lock is not in sync with package.json.
1 parent 406b905 commit 591033e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/actions/install/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ description: Install dependencies
33
runs:
44
using: composite
55
steps: # retry in case of server error from registry
6-
- run: yarn install --ignore-engines || yarn install --ignore-engines
6+
- run: yarn install --frozen-lockfile --ignore-engines || yarn install --frozen-lockfile --ignore-engines
77
shell: bash
88

0 commit comments

Comments
 (0)