diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30595f765..d1a29b8b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: