build:
  image: docker.repo.frg.tech/ci-node:8.9
  script:
    - echo "Running step - Installing Dependencies"
    - curl -k https://jaxf-github.fanatics.corp/raw/cloud/ci-standards/master/gitlab/npm/setup-npmrc.sh | bash
    - curl -k https://jaxf-github.fanatics.corp/raw/cloud/ci-standards/master/gitlab/npm/replace-npm-version.sh | bash
    - npm install
    - echo "Running step - Lint"
    - npm run lint
    - echo "Running step - Test"
    - npm run test
    - echo "Running step - build + deploy"
    - npm publish --registry http://repo.fanaticslabs.com/artifactory/api/npm/npm-dev-local
