Skip to content

Commit

Permalink
[CI] Do not allow yarn.lock to be updated in CI (#5135)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
watson authored and szegedi committed Jan 30, 2025
1 parent 406b905 commit 591033e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ description: Install dependencies
runs:
using: composite
steps: # retry in case of server error from registry
- run: yarn install --ignore-engines || yarn install --ignore-engines
- run: yarn install --frozen-lockfile --ignore-engines || yarn install --frozen-lockfile --ignore-engines
shell: bash

0 comments on commit 591033e

Please sign in to comment.