Skip to content

Commit

Permalink
ci: remove incompatible settings for ts 3.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens committed Oct 17, 2021
1 parent 4787bdc commit 1ce4163
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ jobs:
if: matrix.ts_version != 'JS'
run: yarn add -D typescript@"${{ matrix.ts_version }}" --ignore-engines

- name: Remove incompatible settings for ts 3.4.1
if: matrix.ts_version == '3.4.1'
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));'

- name: Run Tests
run: yarn test
env:
Expand Down

0 comments on commit 1ce4163

Please sign in to comment.