IGNORE: FALSE NEGATIVE On commit to develop branch, it appears that the build is running against master and not develop

Replace this template with your information

On commit to develop branch, it appears that the build is running against master and not develop:

  • during ng lint, I see errors from master, check the code and develop branch doesn’t show that same code. ran ng lint against develop and no errors

  • using gitlab.com

  • Add the CI configuration from .gitlab-ci.yml and other configuration if relevant (e.g. docker-compose.yml)
    stages:

    • test
    • build
    • deploy

build:
stage: build
image: trion/ng-cli

cache:

paths:

- node_modules/

before_script:

  • npm ci
    script:
  • ng build --prod

artifacts:
expire_in: 1 day
paths:
- dist/
tags:

  • docker

test:karma:
stage: test
image: trion/ng-cli-karma
allow_failure: false
before_script:

  • npm ci
    script:
    • ng test --code-coverage --progress false --watch false
      coverage: ‘/Lines \W+: (\d+.\d+)%.*/’
      artifacts:
      paths:
      • coverage/
        tags:
    • docker

test:nglint:
stage: test
image: trion/ng-cli
before_script:

  • npm ci
    script:
  • ng lint
    tags:
  • docker
  • What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?

Thanks for taking the time to be thorough in your request, it really helps! :blush:

problem SOLVED. Sorry for the share. turns out the install process of node modules also ran a prettier task that changed the code… now off to track down the conflict between prettier code changes and ng lint.