Commit 63f99f36 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

CI: factorized node jobs.

No related merge requests found
Showing with 5 additions and 5 deletions
+5 -5
......@@ -10,6 +10,8 @@ stages:
dependencies: [node_modules]
variables:
NPM_CONFIG_CACHE: "$CI_PROJECT_DIR/.npm"
script:
- npm run "$CI_JOB_NAME"
node_modules:
extends: .node
......@@ -27,11 +29,10 @@ node_modules:
paths:
- "$NPM_CONFIG_CACHE"
ng-lint:
lint:
extends: .node
script: npm run lint
ng-test:
test:
extends: .node
before_script:
- apt-get update -yq
......@@ -44,8 +45,7 @@ ng-test:
paths:
- coverage
ng-build:
build:
extends: .node
stage: build
script: npm run build
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment