Fix for broken React functional component typings due to ElementType change in TypeScript 5.1+ #93
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: test | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [18, 20] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: yarn cache | |
uses: c-hive/gha-yarn-cache@v2 | |
- run: yarn install --frozen-lockfile | |
- name: Build | |
run: yarn build | |
- run: yarn test |