diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 03de3d1..8909315 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -25,7 +25,6 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 20 - - run: rm -rf node_modules - run: yarn install - run: yarn test env: @@ -41,7 +40,6 @@ jobs: with: node-version: 20 registry-url: https://registry.npmjs.org/ - - run: rm -rf node_modules - run: yarn install - run: yarn build - run: npm publish diff --git a/jest.config.js b/jest.config.js index 34a9dd8..48e1513 100644 --- a/jest.config.js +++ b/jest.config.js @@ -2,4 +2,5 @@ module.exports = { preset: "ts-jest", testEnvironment: "node", + modulePathIgnorePatterns: ['/docs/'], };