mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-11-26 01:00:27 +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') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-node-
|
${{ 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
|
- name: Install dependencies
|
||||||
run: npm i
|
run: npm i
|
||||||
- name: Build NodeJS package
|
- 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') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-node-
|
${{ 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
|
- name: Install dependencies
|
||||||
run: npm i
|
run: npm i
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -6,10 +6,6 @@ icons/*
|
|||||||
# Except SVG files
|
# Except SVG files
|
||||||
!icons/*.svg
|
!icons/*.svg
|
||||||
|
|
||||||
# Caches
|
|
||||||
.cache/
|
|
||||||
|
|
||||||
|
|
||||||
### NodeJS ###
|
### NodeJS ###
|
||||||
# Logs
|
# Logs
|
||||||
logs
|
logs
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
cacheDirectory: './.cache/jest',
|
|
||||||
};
|
|
Loading…
Reference in New Issue
Block a user