From ea18a8bd45a23afd2bd305eda7e414b1bdf04049 Mon Sep 17 00:00:00 2001 From: Kawika Avilla Date: Thu, 4 Nov 2021 07:46:14 +0000 Subject: [PATCH] remove cache Signed-off-by: Kawika Avilla --- .github/workflows/pr_check_workflow.yml | 14 -------------- src/dev/jest/config.js | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/workflows/pr_check_workflow.yml b/.github/workflows/pr_check_workflow.yml index 555432f5fbf4..fa17d7f9b9e6 100644 --- a/.github/workflows/pr_check_workflow.yml +++ b/.github/workflows/pr_check_workflow.yml @@ -38,20 +38,6 @@ jobs: npm uninstall -g yarn npm i -g yarn@1.22.10 - - name: Get cache path - id: cache-path - run: echo "::set-output name=CACHE_DIR::$(yarn cache dir)" - - - name: Setup cache - uses: actions/cache@v2 - with: - path: ${{ steps.cache-path.outputs.CACHE_DIR }} - key: ${{ runner.os }}-yarn-${{ env.CACHE_NAME }}-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn-${{ env.CACHE_NAME }}- - ${{ runner.os }}-yarn- - ${{ runner.os }}- - - name: Run bootstrap run: yarn osd bootstrap diff --git a/src/dev/jest/config.js b/src/dev/jest/config.js index 88cfaa835801..c837d7c550d2 100644 --- a/src/dev/jest/config.js +++ b/src/dev/jest/config.js @@ -84,7 +84,7 @@ export default { '/src/dev/jest/setup/react_testing_library.js', ], coverageDirectory: '/target/opensearch-dashboards-coverage/jest', - coverageReporters: ['html', 'text'], + coverageReporters: ['html', 'text', 'text-summary'], moduleFileExtensions: ['js', 'mjs', 'json', 'ts', 'tsx', 'node'], modulePathIgnorePatterns: [ '__fixtures__/',