gitlab-ci: test
This commit is contained in:
parent
60001b3aba
commit
7e70f79f58
1 changed files with 2 additions and 4 deletions
|
@ -14,17 +14,15 @@ cache: &global_cache
|
||||||
untracked: true
|
untracked: true
|
||||||
paths:
|
paths:
|
||||||
- node_modules/
|
- node_modules/
|
||||||
|
- .npm/
|
||||||
|
|
||||||
install-dependencies:
|
install-dependencies:
|
||||||
stage: prepare
|
stage: prepare
|
||||||
script:
|
script:
|
||||||
- npm ci
|
- npm ci --cache .npm --prefer-offline
|
||||||
cache:
|
cache:
|
||||||
<<: *global_cache
|
<<: *global_cache
|
||||||
policy: pull-push
|
policy: pull-push
|
||||||
# only:
|
|
||||||
# changes:
|
|
||||||
# - package-lock.json
|
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
stage: test
|
stage: test
|
||||||
|
|
Loading…
Reference in a new issue