diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..e3df14e --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,22 @@ +# The Docker image that will be used to build your app +image: node:lts + +pages: + cache: + paths: + - node_modules/ + script: + # Specify the steps involved to build your app here + - npm install + - npm run build + + artifacts: + paths: + # The folder that contains the built files to be published. + # This must be called "public". + - public + + only: + # Trigger a new build and deploy only when there is a push to the + # branch(es) below + - main \ No newline at end of file