Luigit
repositories / will

will

owned by admin

.ci/validate.kdl

Raw
job "validate" {
  image "docker.io/library/node:26"
  trigger {
    push {
      branch "trunk"
      branch "feature/**"
    }
  }
  cache "npm" {
    path ".npm-cache"
    key {
      file "package-lock.json"
    }
  }
  run "export NPM_CONFIG_CACHE=\"$PWD/.npm-cache\""
  run "npm ci --prefer-offline"
  run "npm run check"
  run "npm test"
  run "npm run coverage"
}