feat: Add woodpecker support

This commit is contained in:
2026-02-26 11:24:31 +01:00
parent c1dcb19c22
commit d7bac5d1fe
2 changed files with 133 additions and 0 deletions

27
.woodpecker/test-pr.yml Normal file
View File

@@ -0,0 +1,27 @@
# Runs on every pull request to build and test the libraries.
when:
- event: pull_request
clone:
git:
image: woodpeckerci/plugin-git
settings:
depth: 0
tags: true
steps:
- name: install
image: node:22
commands:
- npm ci --legacy-peer-deps
- name: build
image: node:22
commands:
- npx nx run-many -t build --projects="reviews-stars"
- name: test
image: node:22
commands:
- npx nx run-many -t test --code-coverage --passWithNoTests --projects="reviews-stars"