diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..78ca1fd --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,24 @@ +image: node:latest + +stages: + - build + - test + +before_script: + - npm install + +build: + stage: build + script: + - echo "Run build project" + - npm run build + only: + - merge_requests + +test: + stage: test + script: + - echo "Run test project" + - npm run test + only: + - merge_requests \ No newline at end of file