Add gitlab CI

This commit is contained in:
MSWS
2023-04-11 00:01:13 -07:00
parent 9151090b5d
commit 4df9f331dd

25
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,25 @@
image: node:latest
stages:
- test
- build
cache:
key: "$CI_COMMIT_REF_SLUG"
paths:
- node_modules/
- dist/
before_script:
- npm install
- npm run lint
test:
stage: test
script:
- npm run test
build:
stage: build
script:
- npm run build