diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..43273caf361d53bed6488c4b75e1405ad6e7bd7f --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,31 @@ +image: node:16 +cache: + paths: + - dist + - node_modules +stages: + - prepare + - test + - build + +prepare: + stage: prepare + script: + - npm install + +lint: + stage: test + needs: + - prepare + script: + - npm run lint + +build: + stage: build + needs: + - prepare + script: + - npm run build-only + artifacts: + paths: + - dist