From ed06243f518f7bc8af0a87209965875ef1391e2c Mon Sep 17 00:00:00 2001 From: Lexus Drumgold Date: Mon, 30 Jan 2023 21:17:47 -0500 Subject: [PATCH] ci(workflows): [`typescript-canary`] add `tsconfig.json` prep step - required for `typescript@next` Signed-off-by: Lexus Drumgold --- .github/workflows/typescript-canary.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/typescript-canary.yml b/.github/workflows/typescript-canary.yml index 6d7347b6..f91ced08 100644 --- a/.github/workflows/typescript-canary.yml +++ b/.github/workflows/typescript-canary.yml @@ -60,6 +60,12 @@ jobs: - id: typescript-version name: Print TypeScript version run: jq .devDependencies.typescript package.json -r + - id: tsconfig + name: Prepare tsconfig.json + if: matrix.typescript-version == 'next' + run: echo $(jq '.compilerOptions += {"ignoreDeprecations":"5.0"}' -S $TSCONFIG) > $TSCONFIG + env: + TSCONFIG: tsconfig.json - id: build name: Build project run: yarn build