Files
z-elements/.woodpecker/test-pr.yml

28 lines
534 B
YAML

# 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"