add base CI for Deno
This commit is contained in:
parent
6720eace7a
commit
71af6bb680
2 changed files with 18 additions and 2 deletions
16
.gitlab-ci.yml
Normal file
16
.gitlab-ci.yml
Normal 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
|
|
@ -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
|
Loading…
Reference in a new issue