fix: Unknown type "undefined" when using generics without base type (… #2801
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: Test | |
on: | |
push: | |
branches: | |
- next | |
pull_request: | |
branches: | |
- next | |
jobs: | |
test: | |
name: Test | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: "yarn" | |
- name: Install Node dependencies | |
run: yarn --frozen-lockfile | |
- name: Lint | |
run: yarn lint | |
- name: Build | |
run: yarn build | |
- name: Test coverage | |
run: yarn jest test/ --collectCoverage=true | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 |