Skip to content
Snippets Groups Projects
Commit 22c31eb1 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

ci must have acess to git

parent 8c2c796b
No related branches found
No related tags found
2 merge requests!223reset the pin numbers before search results are fetch (so the results will be...,!188Resolve "[MIN-305] Make npm packages versions static"
Pipeline #89357 failed
...@@ -12,7 +12,7 @@ lint:commit: ...@@ -12,7 +12,7 @@ lint:commit:
stage: lint stage: lint
allow_failure: true allow_failure: true
before_script: before_script:
- apk add --no-cache npm - apk add --no-cache npm git
- npm install - npm install
script: script:
- echo "${CI_COMMIT_MESSAGE}" | npx commitlint - echo "${CI_COMMIT_MESSAGE}" | npx commitlint
...@@ -21,7 +21,7 @@ linter: ...@@ -21,7 +21,7 @@ linter:
image: node:16.16.0-alpine image: node:16.16.0-alpine
stage: lint stage: lint
before_script: before_script:
- apk add --no-cache npm - apk add --no-cache npm git
- npm install - npm install
script: script:
- npm run lint:ts - npm run lint:ts
...@@ -34,7 +34,7 @@ prettier: ...@@ -34,7 +34,7 @@ prettier:
image: node:16.16.0-alpine image: node:16.16.0-alpine
stage: prettier stage: prettier
before_script: before_script:
- apk add --no-cache npm - apk add --no-cache npm git
- npm install - npm install
script: script:
- npm run prettier:ci - npm run prettier:ci
...@@ -48,7 +48,7 @@ jest: ...@@ -48,7 +48,7 @@ jest:
stage: test stage: test
coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/ coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/
before_script: before_script:
- apk add --no-cache npm - apk add --no-cache npm git
- npm install - npm install
script: script:
- npm run test:ci - npm run test:ci
......
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