diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..24d099bfb803cb5d57a5f116b1839295a381b0d5 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,29 @@ +image: node:16 + +stages: + - install + - lint + - test + +cache: + paths: + - node_modules/ + +before_script: + - npm install + +lint: + stage: lint + script: + - npm run lint + only: + - develop + - main + +test: + stage: test + script: + - npm run test + only: + - develop + - main \ No newline at end of file