diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index be369a8..090a3c8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,8 +9,11 @@ stages: NodeJs Tests: stage: Tests image: node:22.14.0 - except: - - tags + rules: + - if: '$CI_PIPELINE_SOURCE == "push"' + changes: + - frontend/** + - frontend/.gitlab-ci.yml before_script: - cd frontend - npm install @@ -21,6 +24,11 @@ include: - project: 'shared/blueprints' file: 'jobs/golang-tests.yml' ref: master + rules: + - if: '$CI_PIPELINE_SOURCE == "push"' + changes: + - backend/** + - backend/.gitlab-ci.yml inputs: job_name: "Go Tests" working_directory: "backend"