Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
.gitlab-ci.yml 470 B
stages:
  - test
cache:
  paths:
    - ~/.cache

jest:
  image: node:16.16.0
  stage: test
  before_script:
    - apk add --no-cache npm
    - npm ci
  script:
    - npm run test:ci
  only:
    - development
    - merge_requests
    - tags
  tags:
    - k8s

linter:
  image: node:16.16.0
  stage: test
  before_script:
    - apk add --no-cache npm
    - npm ci
  script:
    - npm run lint:ts
  only:
    - development
    - merge_requests
    - tags
  tags:
    - k8s