chore: fail CI if yarn.lock is modified on install (#4897)

This commit is contained in:
Sébastien Lorber 2021-06-03 14:56:22 +02:00 committed by GitHub
parent 1349ece883
commit f0d4d8dfc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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