diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..4450c01a894a1f0f4f582edb67019753499d9332 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,20 @@ +stages: + - install + - build + +cache: + paths: + - node_modules/ + key: "$CI_BUILD_REF_NAME" # Separate cache for each branch + +install_dependencies: + stage: install + image: node:latest + script: + - npm install + +build_project: + stage: build + image: node:latest + script: + - npm run build \ No newline at end of file