feat: Add woodpecker support
This commit is contained in:
27
.woodpecker/test-pr.yml
Normal file
27
.woodpecker/test-pr.yml
Normal 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"
|
||||
Reference in New Issue
Block a user