GitLab CI: only run deps if yarn.lock changes
This commit is contained in:
parent
808d3441ac
commit
890a3f2ec5
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,9 @@ stages:
|
||||||
deps:
|
deps:
|
||||||
stage: deps
|
stage: deps
|
||||||
script: yarn install --ignore-scripts
|
script: yarn install --ignore-scripts
|
||||||
|
only:
|
||||||
|
changes:
|
||||||
|
- yarn.lock
|
||||||
|
|
||||||
lint-js:
|
lint-js:
|
||||||
stage: test
|
stage: test
|
||||||
|
@ -49,6 +52,7 @@ jest:
|
||||||
- "**/*.json"
|
- "**/*.json"
|
||||||
- "app/soapbox/**/*"
|
- "app/soapbox/**/*"
|
||||||
- "webpack/**/*"
|
- "webpack/**/*"
|
||||||
|
- "custom/**/*"
|
||||||
- "jest.config.js"
|
- "jest.config.js"
|
||||||
- "package.json"
|
- "package.json"
|
||||||
- "yarn.lock"
|
- "yarn.lock"
|
||||||
|
|
Loading…
Reference in a new issue