diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..358582cd4e178369869301026ff654ed3bab0efc --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,22 @@ +stages: + - build + +variables: + NODE_ENV: production + +default: + image: node:lts-slim + cache: + key: npm-cache + paths: + - node_modules/ + +build_npm: + stage: build + script: + - npm ci + - npm run build + artifacts: + paths: + - dist/ + expire_in: 1 hour \ No newline at end of file