diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml new file mode 100644 index 0000000..0fc62ae --- /dev/null +++ b/.woodpecker/test.yml @@ -0,0 +1,17 @@ +when: + - path: + include: [ + 'src/**/*', + 'test/**/*', + 'index.ts' + ] + +steps: + test: + image: node + when: + - event: [pull_request, push, manual] + commands: + - npm install + - npm run check + - npm run test