add base CI for Deno

This commit is contained in:
Tomáš Mládek 2021-09-15 21:22:18 +02:00
parent 6720eace7a
commit 71af6bb680
2 changed files with 18 additions and 2 deletions

16
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,16 @@
lint:
stage: test
image: denoland/deno:latest
script:
- cd cli
- make lint
build:
stage: build
image: denoland/deno:latest
script:
- cd cli
- make build
artifacts:
paths:
- cli/kollagen

View file

@ -1,7 +1,7 @@
all: lint compile
all: lint build
lint:
deno lint
compile:
build:
deno compile --import-map ./import_map.json --allow-read --allow-write -o kollagen main.ts