From 15935c5e8c395ec0ef92a008dec26f876394cc05 Mon Sep 17 00:00:00 2001 From: Saleel Date: Wed, 7 Feb 2024 17:01:08 +0400 Subject: [PATCH] fix helpers build issue --- .github/workflows/action.yml | 4 ---- packages/helpers/package.json | 3 ++- packages/helpers/tsconfig.json | 2 +- yarn.lock | 1 + 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 9a96b736c..75bcf372d 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -59,10 +59,6 @@ jobs: working-directory: ./packages/helpers run: yarn install - - name: Run test - working-directory: ./packages/helpers - run: yarn test - - name: Run build working-directory: ./packages/helpers run: yarn build diff --git a/packages/helpers/package.json b/packages/helpers/package.json index 523f74438..387642450 100644 --- a/packages/helpers/package.json +++ b/packages/helpers/package.json @@ -40,7 +40,8 @@ "babel-jest": "^29.5.0", "babel-preset-jest": "^29.5.0", "jest": "^29.5.0", - "msw": "^1.2.2" + "msw": "^1.2.2", + "typescript": "^5.2.2" }, "jest": { "roots": [ diff --git a/packages/helpers/tsconfig.json b/packages/helpers/tsconfig.json index 5ccf3b4ce..392520fb6 100644 --- a/packages/helpers/tsconfig.json +++ b/packages/helpers/tsconfig.json @@ -19,7 +19,7 @@ "isolatedModules": true, "jsx": "react-jsx", "typeRoots": ["./node_modules/@types"], - "types": ["node", "jest"], + "types": ["node"], "incremental": true }, "exclude": [ diff --git a/yarn.lock b/yarn.lock index 81975ca32..2e043d8a2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2806,6 +2806,7 @@ __metadata: pki: ^1.1.0 psl: ^1.9.0 snarkjs: "https://github.com/sampritipanda/snarkjs.git#fef81fc51d17a734637555c6edbd585ecda02d9e" + typescript: ^5.2.2 languageName: unknown linkType: soft