From 22292e19c37fe5526a6b1b323c1d9a84e3f8f240 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 8 Oct 2022 16:22:05 +0100 Subject: [PATCH] Build on CI --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..d853357 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,15 @@ +build: + image: node:slim + stage: build + cache: + key: ${CI_COMMIT_REF_SLUG} + paths: + - .npm + - .cache + before_script: + - npm ci --cache .npm --prefer-offline + script: + - npm run build + artifacts: + paths: + - public