2024-02-16 23:07:13 +01:00
|
|
|
default:
|
2024-05-20 11:40:38 +02:00
|
|
|
image: "node:20.13.1"
|
2024-02-16 23:07:13 +01:00
|
|
|
|
|
|
|
stages:
|
|
|
|
- "test"
|
|
|
|
|
|
|
|
test:
|
|
|
|
stage: "test"
|
2024-02-23 16:23:01 +01:00
|
|
|
only:
|
|
|
|
- "merge_requests"
|
|
|
|
- "develop"
|
2024-02-16 23:07:13 +01:00
|
|
|
script:
|
|
|
|
- "npm clean-install"
|
2024-03-22 23:41:51 +01:00
|
|
|
- "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"
|
2024-03-23 01:18:46 +01:00
|
|
|
# artifacts:
|
|
|
|
# paths:
|
|
|
|
# - "coverage/"
|
|
|
|
# reports:
|
|
|
|
# coverage_report:
|
|
|
|
# coverage_format: "cobertura"
|
|
|
|
# path: "coverage/cobertura-coverage.xml"
|
|
|
|
# junit: "junit.xml"
|
|
|
|
# coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'
|