Add .gitlab-ci.yml

This commit is contained in:
Moe Poi ~ 2023-07-12 10:02:45 +07:00
parent 5db8cd684a
commit e3857918c4
Signed by: moepoi
GPG key ID: 334B501E883409AF

13
.gitlab-ci.yml Normal file
View file

@ -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