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:
parent
f2397be735
commit
e232399271
8
.github/workflows/publish.yml
vendored
8
.github/workflows/publish.yml
vendored
@ -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
|
||||
|
8
.github/workflows/verify.yml
vendored
8
.github/workflows/verify.yml
vendored
@ -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
4
.gitignore
vendored
@ -6,10 +6,6 @@ icons/*
|
||||
# Except SVG files
|
||||
!icons/*.svg
|
||||
|
||||
# Caches
|
||||
.cache/
|
||||
|
||||
|
||||
### NodeJS ###
|
||||
# Logs
|
||||
logs
|
||||
|
@ -1,3 +0,0 @@
|
||||
module.exports = {
|
||||
cacheDirectory: './.cache/jest',
|
||||
};
|
Loading…
Reference in New Issue
Block a user