1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-12-16 01:10:30 +02:00

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
This commit is contained in:
Sachin Raja 2021-10-26 01:59:11 -07:00 committed by GitHub
parent f2397be735
commit e232399271
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 23 deletions

View File

@ -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

View File

@ -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

4
.gitignore vendored
View File

@ -6,10 +6,6 @@ icons/*
# Except SVG files
!icons/*.svg
# Caches
.cache/
### NodeJS ###
# Logs
logs

View File

@ -1,3 +0,0 @@
module.exports = {
cacheDirectory: './.cache/jest',
};