stages:
  - build
  - test
  - deploy
  - pages

include:
- remote: "https://gitlab.com/l3montree/devguard/-/raw/main/templates/full.yml"
  inputs:
    asset_name: l3montree-cybersecurity/projects/badge-api-programm-zendis/assets/badge-api-documentation
    token: "$DEVGUARD_TOKEN"
    license_scanning_environment: "npm"

pages:
  stage: pages
  image: node:22.12.0@sha256:35a5dd72bcac4bce43266408b58a02be6ff0b6098ffa6f5435aeea980a8951d7
  before_script:
    - npm install
  script:
    - npm run build
  artifacts:
    paths:
      - out
  publish: out
  only:
    - main