From 999dab6d7f64e30c2d78607b693c943690178217 Mon Sep 17 00:00:00 2001 From: Pascal Perrenoud Date: Tue, 14 May 2024 13:13:05 +0200 Subject: [PATCH] add CI --- .woodpecker/test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .woodpecker/test.yml diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml new file mode 100644 index 0000000..82213b2 --- /dev/null +++ b/.woodpecker/test.yml @@ -0,0 +1,22 @@ +when: + - path: + include: [ + 'src/**/*.ts', + 'index.ts' + ] + +steps: + install: + image: oven/bun:alpine + when: + - event: [pull_request, push, manual] + commands: + - bun install + + test: + image: oven/bun:alpine + when: + - event: [pull_request, push, manual] + depends_on: install + commands: + - bun test