From e232399271ee2409f8d847a50dfe7c43021ea8ec Mon Sep 17 00:00:00 2001 From: Sachin Raja Date: Tue, 26 Oct 2021 01:59:11 -0700 Subject: [PATCH] Remove jest cache in CI (#6693) * remove jest cache in ci * remove jest cache from publish workflow * remove jest config file and cache from gitignore --- .github/workflows/publish.yml | 8 -------- .github/workflows/verify.yml | 8 -------- .gitignore | 4 ---- jest.config.js | 3 --- 4 files changed, 23 deletions(-) delete mode 100644 jest.config.js diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cbb61fc6a..3bb7cdf84 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,14 +22,6 @@ jobs: key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} restore-keys: | ${{ runner.os }}-node- - - name: Cache Jest - uses: actions/cache@v2 - with: - path: .cache/jest - key: ${{ runner.os }}-jest-${{ hashFiles('package.json') }}-${{ github.run_number }} - restore-keys: | - ${{ runner.os }}-jest-${{ hashFiles('package.json') }}- - ${{ runner.os }}-jest- - name: Install dependencies run: npm i - name: Build NodeJS package diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 3cfc387ad..5243067aa 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -79,14 +79,6 @@ jobs: key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} restore-keys: | ${{ runner.os }}-node- - - name: Cache Jest - uses: actions/cache@v2 - with: - path: .cache/jest - key: ${{ runner.os }}-jest-${{ hashFiles('package.json') }}-${{ github.run_number }} - restore-keys: | - ${{ runner.os }}-jest-${{ hashFiles('package.json') }}- - ${{ runner.os }}-jest- - name: Install dependencies run: npm i - name: Run tests diff --git a/.gitignore b/.gitignore index 90b510e0d..a56de62de 100644 --- a/.gitignore +++ b/.gitignore @@ -6,10 +6,6 @@ icons/* # Except SVG files !icons/*.svg -# Caches -.cache/ - - ### NodeJS ### # Logs logs diff --git a/jest.config.js b/jest.config.js deleted file mode 100644 index 239cf0584..000000000 --- a/jest.config.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - cacheDirectory: './.cache/jest', -};