image: node:16 cache: paths: - node_modules/ before_script: - npm config set registry https://registry.npmmirror.com - npm install lint: script: - npm run lint test: script: - npm run test artifacts: when: always reports: coverage_report: coverage_format: cobertura path: coverage/cobertura-coverage.xml junit: junit.xml coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'