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:
|
||||
stage: deps
|
||||
script: yarn install --ignore-scripts
|
||||
only:
|
||||
changes:
|
||||
- yarn.lock
|
||||
|
||||
lint-js:
|
||||
stage: test
|
||||
|
@ -49,6 +52,7 @@ jest:
|
|||
- "**/*.json"
|
||||
- "app/soapbox/**/*"
|
||||
- "webpack/**/*"
|
||||
- "custom/**/*"
|
||||
- "jest.config.js"
|
||||
- "package.json"
|
||||
- "yarn.lock"
|
||||
|
|
Loading…
Reference in a new issue