Skip to content

Commit

Permalink
TESTME file lookups
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Nov 3, 2022
1 parent 7653e5c commit 474b12c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build-and-test-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,16 @@ jobs:
- name: Install TypeScript ${{ matrix.ts }}
run: yarn add --dev typescript@${{ matrix.ts }}

- name: 'Remove file that only builds with TS 4.7+'
if: ${{ matrix.ts < 4.7 }}
run: rm src/versionedTypes/ts47-mergeParameters.ts
# - name: 'Remove file that only builds with TS 4.7+'
# if: ${{ matrix.ts < 4.7 }}
# run: rm src/versionedTypes/ts47-mergeParameters.ts

# Remove config line that points "reselect" to the `src` folder,
# so that the typetest will use the installed version instead
# Remove config line that points "reselect" to the `src` folder,
# so that the typetest will use the installed version instead
- run: sed -i -e /@remap-prod-remove-line/d ./typescript_test/tsconfig.json

- run: cat ./typescript_test/tsconfig.json

- name: Test types
run: |
./node_modules/.bin/tsc --version
Expand Down
1 change: 1 addition & 0 deletions typescript_test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"declaration": true,
"noEmit": true,
"skipLibCheck": true,
"traceResolution": true,
"paths": {
"reselect": ["../src/index"] // @remap-prod-remove-line
}
Expand Down

0 comments on commit 474b12c

Please sign in to comment.