diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..c6c1107 --- /dev/null +++ b/.gitlab-ci.yml @@ -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 diff --git a/cli/Makefile b/cli/Makefile index 9ceb276..f7a0b4c 100644 --- a/cli/Makefile +++ b/cli/Makefile @@ -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 \ No newline at end of file