Minimize diffs by moving wiki meta cache out of VCS
This commit is contained in:
parent
206b2f5ea9
commit
1cc65db867
4 changed files with 6 additions and 2 deletions
4
.github/workflows/import.yaml
vendored
4
.github/workflows/import.yaml
vendored
|
@ -15,6 +15,10 @@ jobs:
|
|||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '16'
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: data/wiki-meta-cache.yaml
|
||||
key: wiki-meta-cache
|
||||
- run: |
|
||||
npm install
|
||||
npm run recent
|
||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
node_modules/
|
||||
out/
|
||||
tmp/
|
||||
data/wiki-meta-cache.yaml
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
lastCheckedRecentChanges: '2022-10-10T02:04:05.000Z'
|
|
@ -168,7 +168,7 @@ export class WikiGameCacheFile extends YamlFile<WikiGameCache> {
|
|||
export class WikiMetaCacheFile extends YamlFile<WikiMetaCache> {
|
||||
path = `${REPO}/data/wiki-meta-cache.yaml`;
|
||||
defaultData = {
|
||||
lastCheckedRecentChanges: moment().subtract(7, "days").toISOString(),
|
||||
lastCheckedRecentChanges: moment().subtract(1, "days").toISOString(),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue