From b3db1c38da3eebced8c1116f55fcaf32bf9dcd5f Mon Sep 17 00:00:00 2001 From: nightwing Date: Thu, 18 Apr 2024 17:07:48 +0400 Subject: [PATCH] update ci script --- .github/workflows/nodejs.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 2eb07029b0b..d4be00593c9 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -52,10 +52,14 @@ jobs: fi fi # check types - - run: npm run update-types - - run: node_modules/.bin/tsc --noImplicitAny --strict --noUnusedLocals --noImplicitReturns --noUnusedParameters --noImplicitThis ace.d.ts - - run: npm run typecheck - - run: git diff --exit-code ./ace-modes.d.ts ./ace.d.ts + - run: | + set -x; + npx tsc -v; + npm run update-types; + git diff --color --exit-code ./ace*d.ts; + npm run typecheck; + node_modules/.bin/tsc --noImplicitAny --strict --noUnusedLocals --noImplicitReturns --noUnusedParameters --noImplicitThis ace.d.ts; + # upload to codecov - uses: codecov/codecov-action@v3 with: token: d8edca4b-8e97-41e5-b54e-34c7cf3b2d47