kollagen/.gitlab-ci.yml

35 lines
564 B
YAML
Raw Normal View History

stages:
- lint
- build
deno_lint:
stage: lint
2021-09-15 21:22:18 +02:00
image: denoland/deno:latest
script:
- cd cli
- deno lint
2021-09-15 21:22:18 +02:00
deno_build:
2021-09-15 21:22:18 +02:00
stage: build
image: denoland/deno:latest
script:
- cd cli
2021-09-19 10:34:04 +02:00
- deno compile --import-map ./import_map.json --allow-read --allow-write --unstable -o ../kollagen main.ts
artifacts:
paths:
- kollagen
app_build:
stage: build
image: node:lts
script:
- node --version && npm --version
- make app
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- .npm
2021-09-15 21:22:18 +02:00
artifacts:
paths:
- dist