Skip to content

Joi -> Zod v4 conversion #7

Joi -> Zod v4 conversion

Joi -> Zod v4 conversion #7

Workflow file for this run

name: Test Suite
on:
push:
branches: [ main, develop ]
paths-ignore:
- '**.md'
- '**test.yml'
- 'docs/**'
- '.gitignore'
- 'LICENSE'
pull_request:
branches: [ main, develop ]
paths-ignore:
- '**.md'
- '**test.yml'
- 'docs/**'
- '.gitignore'
- 'LICENSE'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 24.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build project
run: npm run build
- name: Run tests
env:
LM_ACCOUNT: ${{ secrets.LM_ACCOUNT }}
LM_BEARER_TOKEN: ${{ secrets.LM_BEARER_TOKEN }}
LOG_LEVEL: error
CLEANUP_ON_FAILURE: true
run: npm test
- name: Archive test results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results-node-${{ matrix.node-version }}
path: |
coverage/
*.log
retention-days: 7