diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 9a96b73..40f5244 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -53,16 +53,11 @@ jobs: uses: actions/setup-node@v3 with: node-version: 18 - cache: 'yarn' - name: Install Yarn dependencies working-directory: ./packages/helpers - run: yarn install + run: yarn install --immutable - - 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 523f744..3876424 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 5ccf3b4..c7a6eb2 100644 --- a/packages/helpers/tsconfig.json +++ b/packages/helpers/tsconfig.json @@ -19,13 +19,6 @@ "isolatedModules": true, "jsx": "react-jsx", "typeRoots": ["./node_modules/@types"], - "types": ["node", "jest"], "incremental": true - }, - "exclude": [ - "node_modules", - "./node_modules", - "./node_modules/*", - "./node_modules/@types/node/index.d.ts" - ] + } } diff --git a/yarn.lock b/yarn.lock index 81975ca..2e043d8 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