Skip to content

Export InferPojoType to replicate Mongoose 8 InferRawDocType behavior #14

Export InferPojoType to replicate Mongoose 8 InferRawDocType behavior

Export InferPojoType to replicate Mongoose 8 InferRawDocType behavior #14

Workflow file for this run

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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup node
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: 22
- 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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup node
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: 22
- run: npm install
- name: Typings
run: npm run test-tsd