From f0d4d8dfc7f3d2b7868a09451c38d980ad8b83dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lorber?= Date: Thu, 3 Jun 2021 14:56:22 +0200 Subject: [PATCH] chore: fail CI if yarn.lock is modified on install (#4897) --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 538841179e..3b75c7b6ae 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,7 +15,7 @@ jobs: - name: Installation uses: bahmutov/npm-install@v1 with: - install-command: yarn + install-command: yarn install --immutable # Fails if yarn.lock is modified - name: Lint run: yarn lint:ci - name: Prettier Code