From 890a3f2ec53094a02a106c69efc9492029b8fb8b Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 25 May 2022 15:36:30 -0400 Subject: [PATCH] GitLab CI: only run deps if yarn.lock changes --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 49bbf1c58..f8b732738 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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"