ditto/.gitlab-ci.yml

41 lines
741 B
YAML
Raw Normal View History

2024-06-13 18:48:32 +00:00
image: denoland/deno:1.44.2
2023-03-05 05:28:18 +00:00
default:
interruptible: true
stages:
- test
fmt:
stage: test
script: deno fmt --check
lint:
stage: test
script: deno lint
2024-04-08 16:33:28 +00:00
check:
stage: test
script: deno task check
2023-07-26 01:55:43 +00:00
test:
stage: test
script: deno task test
variables:
2024-05-05 14:56:20 +00:00
DITTO_NSEC: nsec1zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zygs4rm7hz
artifacts:
when: always
paths:
- deno-test.xml
reports:
2024-05-26 23:37:47 +00:00
junit: deno-test.xml
postgres:
stage: test
script: deno task db:migrate
services:
- postgres:16
variables:
DITTO_NSEC: nsec1zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zygs4rm7hz
DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres
POSTGRES_HOST_AUTH_METHOD: trust