Merge pull request #325 from Josuto/add_validation_errors_to_validati… #682
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
library: | |
name: Library Validation | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
node-version: [22.x, 23.x] | |
steps: | |
- name: Checkout Code 🛎️ | |
uses: actions/checkout@v4 | |
- name: Setup Node ${{ matrix.node-version }} 🕸️ | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Library Dependencies 💾 | |
run: yarn install | |
- name: Build Library 🔧 | |
run: yarn build | |
- name: Run Library Tests 🧪 | |
run: yarn test | |
nestjs_app: | |
name: NestJS Example App Validation | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node-version: [22.x, 23.x] | |
steps: | |
- name: Checkout Code 🛎️ | |
uses: actions/checkout@v4 | |
- name: Setup Node ${{ matrix.node-version }} 🕸️ | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Library Dependencies 💾 | |
run: yarn install | |
- name: Build Library 🔧 | |
run: yarn build | |
- name: Install NestJS Example App Dependencies 💾 | |
run: | | |
cd ./examples/nestjs-mongoose-book-manager | |
yarn install --force | |
- name: Build NestJS Example App 🔧 | |
run: | | |
cd ./examples/nestjs-mongoose-book-manager | |
yarn build | |
- name: Run NestJS Example App Tests 🧪 | |
run: | | |
cd ./examples/nestjs-mongoose-book-manager | |
yarn test |