Skip to content
Snippets Groups Projects
Commit c1fb87e6 authored by Tadeusz Miesiąc's avatar Tadeusz Miesiąc
Browse files

Update .gitlab-ci.yml file

parent b1b85fec
No related branches found
No related tags found
1 merge request!223reset the pin numbers before search results are fetch (so the results will be...
Pipeline #78408 failed
......@@ -4,6 +4,27 @@ cache:
paths:
- ~/.cache
lint:commit:
stage: lint
allow_failure: true
before_script:
- apk add --no-cache npm
script:
- echo "${CI_COMMIT_MESSAGE}" | npx commitlint
linter:
image: node:16.16.0-alpine
stage: test
before_script:
- apk add --no-cache npm
- npm ci
script:
- npm run lint:ts
only:
- development
- merge_requests
- tags
jest:
image: node:16.16.0-alpine
stage: test
......@@ -26,15 +47,4 @@ jest:
coverage_format: cobertura
path: coverage/cobertura-coverage.xml
linter:
image: node:16.16.0-alpine
stage: test
before_script:
- apk add --no-cache npm
- npm ci
script:
- npm run lint:ts
only:
- development
- merge_requests
- tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment