types: avoid inferring Boolean, Buffer, ObjectId as Date in schema de… #2638
Workflow file for this run
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: Typescript Types | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/tsd.yml' | |
- 'package.json' | |
- 'types/**' | |
- 'test/types/**' | |
push: | |
paths: | |
- '.github/workflows/tsd.yml' | |
- 'package.json' | |
- 'types/**' | |
- 'test/types/**' | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: Lint TS-Files | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Setup node | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
node-version: 18 | |
- run: npm install | |
- name: Lint TS-Files | |
run: npm run lint-ts | |
test-ts-types: | |
needs: | |
- lint | |
runs-on: ubuntu-latest | |
name: Test Typescript Types | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Setup node | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
node-version: 14 | |
- run: npm install | |
- name: Typings | |
run: npm run test-tsd |