From 868d1f74d9d862d7b40219546bfe35299c6dd452 Mon Sep 17 00:00:00 2001 From: Kevin Stillhammer Date: Sat, 28 Mar 2026 16:19:09 +0100 Subject: [PATCH] Replace inline compile args with tsconfig (#824) --- .github/scripts/tsconfig.json | 9 +++++++++ .github/workflows/test.yml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .github/scripts/tsconfig.json diff --git a/.github/scripts/tsconfig.json b/.github/scripts/tsconfig.json new file mode 100644 index 0000000..89e68fa --- /dev/null +++ b/.github/scripts/tsconfig.json @@ -0,0 +1,9 @@ +{ + "compilerOptions": { + "module": "nodenext", + "moduleResolution": "nodenext", + "target": "es2022", + "types": ["node"] + }, + "include": ["check-all-tests-passed-needs.ts"] +} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 04669ee..0b876cc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,7 +38,7 @@ jobs: npm run all - name: Check all jobs are in all-tests-passed.needs run: | - tsc --module nodenext --moduleResolution nodenext --target es2022 check-all-tests-passed-needs.ts + tsc -p tsconfig.json node check-all-tests-passed-needs.js working-directory: .github/scripts - name: Make sure no changes from linters are detected