add base CI for Deno

master
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: lint:
deno lint deno lint
compile: build:
deno compile --import-map ./import_map.json --allow-read --allow-write -o kollagen main.ts deno compile --import-map ./import_map.json --allow-read --allow-write -o kollagen main.ts