From f998e3ac1e4d97e93bb8ba093f4f6061169909a2 Mon Sep 17 00:00:00 2001 From: Pascal Perrenoud Date: Tue, 21 May 2024 16:45:15 +0200 Subject: [PATCH] Add CI --- .woodpecker/test.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .woodpecker/test.yml diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml new file mode 100644 index 0000000..5eae361 --- /dev/null +++ b/.woodpecker/test.yml @@ -0,0 +1,19 @@ +when: + - path: + include: ['index.ts'] + +steps: + install: + image: node + when: + - event: [pull_request, push, manual] + commands: + - npm install + + test: + image: oven/bun + when: + - event: [pull_request, push, manual] + depends_on: install + commands: + - bun test