mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-07 14:17:16 +02:00
chore: fail CI if yarn.lock is modified on install (#4897)
This commit is contained in:
parent
1349ece883
commit
f0d4d8dfc7
1 changed files with 1 additions and 1 deletions
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
||||||
- name: Installation
|
- name: Installation
|
||||||
uses: bahmutov/npm-install@v1
|
uses: bahmutov/npm-install@v1
|
||||||
with:
|
with:
|
||||||
install-command: yarn
|
install-command: yarn install --immutable # Fails if yarn.lock is modified
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: yarn lint:ci
|
run: yarn lint:ci
|
||||||
- name: Prettier Code
|
- name: Prettier Code
|
||||||
|
|
Loading…
Add table
Reference in a new issue