Skip to content

Commit

Permalink
ci(workflows): [typescript-canary] add tsconfig.json prep step
Browse files Browse the repository at this point in the history
- required for `typescript@next`

Signed-off-by: Lexus Drumgold <[email protected]>
  • Loading branch information
unicornware committed Jan 31, 2023
1 parent c7da441 commit ed06243
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/typescript-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed06243

Please sign in to comment.