Skip to content
Snippets Groups Projects
Select Git revision
  • 3df4d11c40de9caec416d2f543dc0669cbec02a8
  • main default protected
  • 3-rewrite-in-typescript
  • 1.13.6
  • 1.13.5
  • 1.13.4
  • 1.13.3
  • 1.13.2
  • 1.13.1
  • 1.13.0
  • 1.12.4
  • 1.12.3
  • 1.12.2
  • 1.12.1
  • 1.12.0
  • 1.11.0
  • 1.10.1
  • 1.10.0
  • 1.9.0
  • v1.7.0
  • 1.8.0
  • v1.7.1
  • v1.6.2
23 results

.gitlab-ci.yml

Blame
  • .gitlab-ci.yml 619 B
    image: node:latest
    
    include:
      - project: 'general/templates'
        file: '/cicd/SAST-nodejs.gitlab-ci.yml'
      - project: 'general/templates'
        file: '/cicd/npm-audit.gitlab-ci.yml'
      - project: 'general/templates'
        file: '/cicd/sonarqube.gitlab-ci.yml'
    
    variables:
      SONAR_PROJECT_KEY: config
      SONAR_TOKEN: 11922a8e774494f51e1d2f0e695949e4073e7df8
    
    cache:
      paths:
        - node_modules/
    
    stages:
      - build
      - test
    
    build:
      stage: build
      script:
        - npm install --production
    
    test:
      stage: test
      before_script:
        - npm install -g jest
      script:
        - jest
      artifacts:
        paths:
          - docs/test-report.html