Skip to content

Commit 1ce4163

Browse files
ci: remove incompatible settings for ts 3.4.1
1 parent 4787bdc commit 1ce4163

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ jobs:
9797
if: matrix.ts_version != 'JS'
9898
run: yarn add -D typescript@"${{ matrix.ts_version }}" --ignore-engines
9999

100+
- name: Remove incompatible settings for ts 3.4.1
101+
if: matrix.ts_version == '3.4.1'
102+
run: node -e 'const fs = require("fs"); const tsconfig = require("./tsconfig.base.json"); delete tsconfig.compilerOptions.exactOptionalPropertyTypes; fs.writeFileSync("./tsconfig.base.json", JSON.stringify(tsconfig));'
103+
100104
- name: Run Tests
101105
run: yarn test
102106
env:

0 commit comments

Comments
 (0)