Skip to content

Commit

Permalink
[bot] Updated Search Indexes (#418)
Browse files Browse the repository at this point in the history
* [bot] Updated `search-index/*.bin`

* chore(ci/deno): update version to v1.x

* chore: update snapshots

* chore: remove unnecessary lines in bug_report.md and feature_request.md templates

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
ker0olos and github-actions[bot] authored Sep 6, 2024
1 parent cdb8f11 commit b8f19c1
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 48 deletions.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report about a bug you experienced
title: ''
labels: 'bug'
assignees: ''

---

**Describe the bug**
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Request type**
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.45.4
deno-version: v1.x
- run: deno fmt --check

lint:
Expand All @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.45.4
deno-version: v1.x
- run: deno lint

test:
Expand All @@ -34,7 +34,7 @@ jobs:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.45.4
deno-version: v1.x
- run: deno test -A --coverage=cov_profile --no-check
- run: deno coverage cov_profile --lcov --output=lcov.info
- uses: codecov/codecov-action@v4
Expand All @@ -53,7 +53,7 @@ jobs:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.45.4
deno-version: v1.x

- run: deno run -A db/_ensureIndexes.ts
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/discord.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.45.4
deno-version: v1.x

- if: github.ref != 'refs/heads/main'
name: Set environment to dummy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/search-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

- uses: denoland/setup-deno@v1
with:
deno-version: v1.45.4
deno-version: v1.x

- run: deno run -A search-index/index.ts
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/topgg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.45.4
deno-version: v1.x

- run: deno run -A update_topgg_stats.ts
env:
Expand Down
Binary file modified search-index/characters_index.bin
Binary file not shown.
Binary file modified search-index/media_index.bin
Binary file not shown.
80 changes: 41 additions & 39 deletions tests/__snapshots__/search-index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -149,36 +149,36 @@ snapshot[`characters search > aqua 1`] = `
role: "SUPPORTING",
},
{
id: "anilist:3165",
id: "anilist:3157",
mediaId: "anilist:521",
mediaTitle: [
"Mermaid Melody: Pichi Pichi Pitch",
"マーメイドメロディー ぴちぴちピッチ",
],
name: [
"Aqua Regina",
"アクア・レジーナ様",
"Hanon Houshou",
"宝生波音",
"Aqua Pearl Mermaid Princess",
"Hanon Hosho",
],
popularity: 14145,
rating: 1,
role: "SUPPORTING",
role: "MAIN",
},
{
id: "anilist:3157",
id: "anilist:3165",
mediaId: "anilist:521",
mediaTitle: [
"Mermaid Melody: Pichi Pichi Pitch",
"マーメイドメロディー ぴちぴちピッチ",
],
name: [
"Hanon Houshou",
"宝生波音",
"Aqua Pearl Mermaid Princess",
"Hanon Hosho",
"Aqua Regina",
"アクア・レジーナ様",
],
popularity: 14145,
rating: 1,
role: "MAIN",
role: "SUPPORTING",
},
{
id: "anilist:329113",
Expand Down Expand Up @@ -214,6 +214,7 @@ snapshot[`characters search > aqua 1`] = `
"Dai Tenshi Aqua",
"Onion",
"Baqua",
"Aqu-tan",
],
popularity: 11227,
rating: 1,
Expand All @@ -232,7 +233,7 @@ snapshot[`characters search > aqua 1`] = `
"アクア",
"Water Ignis",
],
popularity: 9691,
popularity: 9972,
rating: 1,
role: "SUPPORTING",
},
Expand All @@ -250,7 +251,7 @@ snapshot[`characters search > aqua 1`] = `
name: [
"Aqua",
],
popularity: 8088,
popularity: 8310,
rating: 1,
role: "SUPPORTING",
},
Expand All @@ -268,7 +269,7 @@ snapshot[`characters search > aqua 1`] = `
"水無月かれん",
"Cure Aqua (キュアアクア)",
],
popularity: 7103,
popularity: 7249,
rating: 1,
role: "BACKGROUND",
},
Expand All @@ -284,7 +285,7 @@ snapshot[`characters search > aqua 1`] = `
"Aqua",
"アクア",
],
popularity: 3417,
popularity: 3510,
rating: 1,
role: "SUPPORTING",
},
Expand All @@ -299,7 +300,7 @@ snapshot[`characters search > aqua 1`] = `
"Teronna Aqua Vega",
"テロンナ • アクア • ベガ",
],
popularity: 2452,
popularity: 2608,
rating: 1,
role: "SUPPORTING",
},
Expand All @@ -318,7 +319,7 @@ snapshot[`characters search > aqua 1`] = `
"Dark Aqua",
"ダークアクア",
],
popularity: 2079,
popularity: 2112,
rating: 1,
role: "SUPPORTING",
},
Expand Down Expand Up @@ -470,13 +471,14 @@ snapshot[`characters search > aqua 1`] = `
"Game Sok Babarian-euro Saranamgi",
"게임 속 바바리안으로 살아남기",
"Surviving The Game as a Barbarian",
"เอาชีวิตรอดในเกมฉบับคนเถื่อน",
],
name: [
"Arua Raven",
"아루아 레이븐",
"Aru",
],
popularity: 5806,
popularity: 6588,
rating: 1,
role: "SUPPORTING",
},
Expand Down Expand Up @@ -1014,12 +1016,12 @@ snapshot[`characters search > sayuri haruno 1`] = `
"Sayuri Haruno",
"春野小百合",
],
popularity: 10031,
popularity: 10246,
rating: 1,
role: "MAIN",
},
{
id: "anilist:67289",
id: "anilist:145",
mediaId: "anilist:20",
mediaTitle: [
"Naruto",
Expand All @@ -1032,15 +1034,15 @@ snapshot[`characters search > sayuri haruno 1`] = `
"Наруто",
],
name: [
"Mebuki Haruno",
"春野メブキ",
"Sakura Haruno",
"春野サクラ",
],
popularity: 536323,
rating: 4,
role: "SUPPORTING",
rating: 5,
role: "MAIN",
},
{
id: "anilist:145",
id: "anilist:67289",
mediaId: "anilist:20",
mediaTitle: [
"Naruto",
Expand All @@ -1053,12 +1055,12 @@ snapshot[`characters search > sayuri haruno 1`] = `
"Наруто",
],
name: [
"Sakura Haruno",
"春野サクラ",
"Mebuki Haruno",
"春野メブキ",
],
popularity: 536323,
rating: 5,
role: "MAIN",
rating: 4,
role: "SUPPORTING",
},
{
id: "anilist:67287",
Expand Down Expand Up @@ -1523,7 +1525,7 @@ snapshot[`characters search > jahy 1`] = `
"Jahy",
"ジャヒー",
],
popularity: 4945,
popularity: 5025,
rating: 1,
role: "MAIN",
},
Expand Down Expand Up @@ -1810,7 +1812,7 @@ snapshot[`characters search > jahy 1`] = `
"Jay Yun",
"ジェイ・ユン",
],
popularity: 9096,
popularity: 9288,
rating: 1,
role: "SUPPORTING",
},
Expand All @@ -1827,7 +1829,7 @@ snapshot[`characters search > jahy 1`] = `
"Jay",
"ジェイ",
],
popularity: 5001,
popularity: 5068,
rating: 1,
role: "MAIN",
},
Expand All @@ -1845,7 +1847,7 @@ snapshot[`characters search > jahy 1`] = `
"ジェイ",
"Jay",
],
popularity: 4602,
popularity: 4662,
rating: 1,
role: "MAIN",
},
Expand All @@ -1865,7 +1867,7 @@ snapshot[`characters search > jahy 1`] = `
"Jei",
"Jay",
],
popularity: 2674,
popularity: 2709,
rating: 1,
role: "SUPPORTING",
},
Expand All @@ -1883,7 +1885,7 @@ snapshot[`characters search > jahy 1`] = `
"J",
"Jay",
],
popularity: 2315,
popularity: 2332,
rating: 1,
role: "SUPPORTING",
},
Expand All @@ -1898,7 +1900,7 @@ snapshot[`characters search > jahy 1`] = `
name: [
"Jay",
],
popularity: 1689,
popularity: 1726,
rating: 1,
role: "SUPPORTING",
},
Expand All @@ -1921,7 +1923,7 @@ snapshot[`characters search > jahy 1`] = `
"Jihei Suzakuin",
"Jay",
],
popularity: 1608,
popularity: 1636,
rating: 1,
role: "MAIN",
},
Expand All @@ -1936,7 +1938,7 @@ snapshot[`characters search > jahy 1`] = `
name: [
"Jay Burst",
],
popularity: 1010,
popularity: 1031,
rating: 1,
role: "SUPPORTING",
},
Expand Down Expand Up @@ -2035,7 +2037,7 @@ snapshot[`media search > konosuba 1`] = `
},
{
id: "anilist:85702",
popularity: 7664,
popularity: 8077,
title: [
"Konosuba: God's Blessing on This Wonderful World!",
"Kono Subarashii Sekai ni Shukufuku wo!",
Expand All @@ -2048,7 +2050,7 @@ snapshot[`media search > konosuba 1`] = `
},
{
id: "anilist:97080",
popularity: 3094,
popularity: 3160,
title: [
"Konosuba: An Explosion on This Wonderful World!",
"Kono Subarashii Sekai ni Bakuen wo!",
Expand Down

0 comments on commit b8f19c1

Please sign in to comment.