From e3857918c4af855880b3ad1178f199dbf3ebc804 Mon Sep 17 00:00:00 2001 From: Moe Date: Wed, 12 Jul 2023 10:02:45 +0700 Subject: [PATCH] Add .gitlab-ci.yml --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..7141a57 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,13 @@ +image: node:lts + +before_script: + - npm install + - npx playwright install +pages: + script: + - npm run build + artifacts: + paths: + - dist + rules: + - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH