Skip to content
Snippets Groups Projects
Commit ef5850b6 authored by Andreas's avatar Andreas
Browse files

test/Update .gitlab-ci.yml

parent 0dc0dc90
No related branches found
No related tags found
1 merge request!13Updated workflow to be run in a docker image and added job for checking lint
Pipeline #274173 failed
...@@ -2,6 +2,7 @@ image: node:alpine # Much smaller than other variants, faster and more resource ...@@ -2,6 +2,7 @@ image: node:alpine # Much smaller than other variants, faster and more resource
stages: stages:
- install_dependencies - install_dependencies
- lint
- build_project - build_project
cache: cache:
...@@ -12,7 +13,12 @@ cache: ...@@ -12,7 +13,12 @@ cache:
install_dependencies: install_dependencies:
stage: install_dependencies stage: install_dependencies
script: script:
- npm ci - npm install
lint:
stage: lint
script:
- npm run lint
build_project: build_project:
stage: build_project stage: build_project
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment