1
1
mirror of https://github.com/theoludwig/p61-project.git synced 2024-07-17 07:00:12 +02:00
p61-project/.gitlab-ci.yml

29 lines
620 B
YAML
Raw Permalink Normal View History

2024-02-16 23:07:13 +01:00
default:
image: "node:20.13.1"
2024-02-16 23:07:13 +01:00
stages:
- "test"
test:
stage: "test"
only:
- "merge_requests"
- "develop"
2024-02-16 23:07:13 +01:00
script:
- "npm clean-install"
- "npm run expo:typed-routes"
2024-02-16 23:07:13 +01:00
- 'echo "${CI_COMMIT_MESSAGE}" | npm run lint:commit'
- "npm run lint:prettier"
- "npm run lint:eslint"
- "npm run lint:typescript"
- "npm run test"
# artifacts:
# paths:
# - "coverage/"
# reports:
# coverage_report:
# coverage_format: "cobertura"
# path: "coverage/cobertura-coverage.xml"
# junit: "junit.xml"
# coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'