Skip to content

Commit

Permalink
wip: feat(ci): run tests on drone
Browse files Browse the repository at this point in the history
  • Loading branch information
egasimus committed Dec 12, 2023
1 parent 51a3432 commit e12cdf5
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
kind: pipeline
type: docker
name: default
name: docs
trigger: { event: [ push ], branch: [ v2 ] }
steps:
- name: submodules
Expand All @@ -21,3 +21,18 @@ steps:
- rm -rf /var/www/docs.hack.bg/fadroma
- mv /var/www/docs.hack.bg/fadroma~ /var/www/docs.hack.bg/fadroma
volumes: [ { name: docs, host: { path: /var/www/docs.hack.bg } } ]
---
kind: pipeline
type: docker
name: test
trigger: { event: [ push ], branch: [ v2 ] }
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: docs
image: ghcr.io/hackbg/fadroma:latest
commands:
- pnpm i --no-frozen-lockfile --strict-peer-dependencies
- pnpm cov all

0 comments on commit e12cdf5

Please sign in to comment.