Fix for When passing boolean value as required & default passed value is false in API it is consider that as no value or undefined. #22
Workflow file for this run
This file contains hidden or 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: Test | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Type check | |
| run: npm run typecheck | |
| - name: Run tests | |
| run: npm test | |
| - name: Cleanup | |
| if: always() | |
| run: | | |
| rm -rf node_modules | |
| rm -rf dist | |
| rm -rf coverage | |
| rm -rf .nyc_output | |
| rm -f package-lock.json | |
| rm -f yarn.lock | |
| rm -f pnpm-lock.yaml | |
| rm -f .npmrc | |
| rm -f .yarnrc | |
| rm -f .pnpmrc | |
| rm -f .env* | |
| rm -f *.log | |
| rm -f .DS_Store | |
| rm -f Thumbs.db | |