Skip to content

Commit bd26e5d

Browse files
committed
ci(workflows): [typescript-canary] add tsconfig.json prep step
- required for `typescript@next` Signed-off-by: Lexus Drumgold <[email protected]>
1 parent c64ee0f commit bd26e5d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/typescript-canary.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ jobs:
6060
- id: typescript-version
6161
name: Print TypeScript version
6262
run: jq .devDependencies.typescript package.json -r
63+
- id: tsconfig
64+
name: Prepare tsconfig.json
65+
if: matrix.typescript-version == 'next'
66+
run: echo $(jq '.compilerOptions += {"ignoreDeprecations":"5.0"}' -S $TSCONFIG) > $TSCONFIG
67+
env:
68+
TSCONFIG: tsconfig.json
6369
- id: build
6470
name: Build project
6571
run: yarn build

0 commit comments

Comments
 (0)