Skip to content

Commit 69b19d4

Browse files
dandwyergithub-actions[bot]
authored andcommitted
build: Add GitHub Actions workflow and Dependabot configuration
pr: RaidTheory#290
1 parent 0ad3b1a commit 69b19d4

4 files changed

Lines changed: 179 additions & 32 deletions

File tree

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "bun" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "weekly"

.github/workflows/test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Reference:
2+
# https://bun.com/docs/test#how-to-install-bun-in-a-github-actions-workflow
3+
name: test
4+
5+
on:
6+
- push
7+
- pull_request
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
build:
14+
name: build-app
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v6
19+
- name: Install bun
20+
uses: oven-sh/setup-bun@v2
21+
- name: Install dependencies
22+
run: bun install
23+
- name: Audit Formatting
24+
run: bun run check
25+
- name: Run tests
26+
run: bun test

arctracker-ui/en.json

Lines changed: 132 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2691,38 +2691,138 @@
26912691
"closeCipher": "Close",
26922692
"sendMessage": "Send message",
26932693
"tools": {
2694-
"searchItems": { "active": "Scanning item database...", "done": "Scanned item database" },
2695-
"getItem": { "active": "Pulling item data...", "done": "Pulled item data" },
2696-
"getItemDropLocations": { "active": "Analyzing drop locations...", "done": "Analyzed drop locations" },
2697-
"searchQuests": { "active": "Scanning quest records...", "done": "Scanned quest records" },
2698-
"getQuest": { "active": "Pulling quest data...", "done": "Pulled quest data" },
2699-
"getHideoutModules": { "active": "Checking hideout modules...", "done": "Checked hideout modules" },
2700-
"getUserQuestProgress": { "active": "Checking quest progress...", "done": "Checked quest progress" },
2701-
"getUserHideoutProgress": { "active": "Checking hideout progress...", "done": "Checked hideout progress" },
2702-
"getUserNeededItems": { "active": "Calculating needed items...", "done": "Calculated needed items" },
2703-
"getUserStash": { "active": "Accessing stash records...", "done": "Accessed stash" },
2704-
"getUserLoadout": { "active": "Pulling loadout config...", "done": "Pulled loadout" },
2705-
"checkStashForItem": { "active": "Scanning stash...", "done": "Scanned stash" },
2706-
"getRaidHistory": { "active": "Pulling raid logs...", "done": "Pulled raid logs" },
2707-
"getRaidStats": { "active": "Crunching raid data...", "done": "Crunched raid data" },
2708-
"getPlayerStats": { "active": "Pulling player metrics...", "done": "Pulled player metrics" },
2709-
"getWeaponKills": { "active": "Pulling weapon data...", "done": "Pulled weapon data" },
2710-
"getWeaponDamage": { "active": "Analyzing weapon damage...", "done": "Analyzed weapon damage" },
2711-
"getItemDropStats": { "active": "Analyzing drop rates...", "done": "Analyzed drop rates" },
2712-
"getItemFarmingContext": { "active": "Analyzing farming context...", "done": "Analyzed farming context" },
2713-
"findBestFarmingMaps": { "active": "Optimizing farming routes...", "done": "Optimized farming routes" },
2714-
"getMapEvents": { "active": "Checking map events...", "done": "Checked map events" },
2715-
"createChart": { "active": "Generating visual...", "done": "Generated visual" },
2716-
"searchCraftableItems": { "active": "Searching recipes...", "done": "Searched recipes" },
2717-
"searchSkillNodes": { "active": "Searching skill tree...", "done": "Searched skill tree" },
2718-
"getSkillNode": { "active": "Loading skill details...", "done": "Loaded skill details" },
2719-
"getProjects": { "active": "Loading projects...", "done": "Loaded projects" },
2720-
"getUserLists": { "active": "Loading your lists...", "done": "Loaded your lists" },
2721-
"getListItems": { "active": "Loading list items...", "done": "Loaded list items" },
2722-
"addItemToList": { "active": "Adding to list...", "done": "Added to list", "denied": "Cancelled" },
2723-
"removeItemFromList": { "active": "Removing from list...", "done": "Removed from list", "denied": "Cancelled" },
2724-
"createList": { "active": "Creating list...", "done": "Created list", "denied": "Cancelled" },
2725-
"deleteList": { "active": "Deleting list...", "done": "Deleted list", "denied": "Cancelled" },
2694+
"searchItems": {
2695+
"active": "Scanning item database...",
2696+
"done": "Scanned item database"
2697+
},
2698+
"getItem": {
2699+
"active": "Pulling item data...",
2700+
"done": "Pulled item data"
2701+
},
2702+
"getItemDropLocations": {
2703+
"active": "Analyzing drop locations...",
2704+
"done": "Analyzed drop locations"
2705+
},
2706+
"searchQuests": {
2707+
"active": "Scanning quest records...",
2708+
"done": "Scanned quest records"
2709+
},
2710+
"getQuest": {
2711+
"active": "Pulling quest data...",
2712+
"done": "Pulled quest data"
2713+
},
2714+
"getHideoutModules": {
2715+
"active": "Checking hideout modules...",
2716+
"done": "Checked hideout modules"
2717+
},
2718+
"getUserQuestProgress": {
2719+
"active": "Checking quest progress...",
2720+
"done": "Checked quest progress"
2721+
},
2722+
"getUserHideoutProgress": {
2723+
"active": "Checking hideout progress...",
2724+
"done": "Checked hideout progress"
2725+
},
2726+
"getUserNeededItems": {
2727+
"active": "Calculating needed items...",
2728+
"done": "Calculated needed items"
2729+
},
2730+
"getUserStash": {
2731+
"active": "Accessing stash records...",
2732+
"done": "Accessed stash"
2733+
},
2734+
"getUserLoadout": {
2735+
"active": "Pulling loadout config...",
2736+
"done": "Pulled loadout"
2737+
},
2738+
"checkStashForItem": {
2739+
"active": "Scanning stash...",
2740+
"done": "Scanned stash"
2741+
},
2742+
"getRaidHistory": {
2743+
"active": "Pulling raid logs...",
2744+
"done": "Pulled raid logs"
2745+
},
2746+
"getRaidStats": {
2747+
"active": "Crunching raid data...",
2748+
"done": "Crunched raid data"
2749+
},
2750+
"getPlayerStats": {
2751+
"active": "Pulling player metrics...",
2752+
"done": "Pulled player metrics"
2753+
},
2754+
"getWeaponKills": {
2755+
"active": "Pulling weapon data...",
2756+
"done": "Pulled weapon data"
2757+
},
2758+
"getWeaponDamage": {
2759+
"active": "Analyzing weapon damage...",
2760+
"done": "Analyzed weapon damage"
2761+
},
2762+
"getItemDropStats": {
2763+
"active": "Analyzing drop rates...",
2764+
"done": "Analyzed drop rates"
2765+
},
2766+
"getItemFarmingContext": {
2767+
"active": "Analyzing farming context...",
2768+
"done": "Analyzed farming context"
2769+
},
2770+
"findBestFarmingMaps": {
2771+
"active": "Optimizing farming routes...",
2772+
"done": "Optimized farming routes"
2773+
},
2774+
"getMapEvents": {
2775+
"active": "Checking map events...",
2776+
"done": "Checked map events"
2777+
},
2778+
"createChart": {
2779+
"active": "Generating visual...",
2780+
"done": "Generated visual"
2781+
},
2782+
"searchCraftableItems": {
2783+
"active": "Searching recipes...",
2784+
"done": "Searched recipes"
2785+
},
2786+
"searchSkillNodes": {
2787+
"active": "Searching skill tree...",
2788+
"done": "Searched skill tree"
2789+
},
2790+
"getSkillNode": {
2791+
"active": "Loading skill details...",
2792+
"done": "Loaded skill details"
2793+
},
2794+
"getProjects": {
2795+
"active": "Loading projects...",
2796+
"done": "Loaded projects"
2797+
},
2798+
"getUserLists": {
2799+
"active": "Loading your lists...",
2800+
"done": "Loaded your lists"
2801+
},
2802+
"getListItems": {
2803+
"active": "Loading list items...",
2804+
"done": "Loaded list items"
2805+
},
2806+
"addItemToList": {
2807+
"active": "Adding to list...",
2808+
"done": "Added to list",
2809+
"denied": "Cancelled"
2810+
},
2811+
"removeItemFromList": {
2812+
"active": "Removing from list...",
2813+
"done": "Removed from list",
2814+
"denied": "Cancelled"
2815+
},
2816+
"createList": {
2817+
"active": "Creating list...",
2818+
"done": "Created list",
2819+
"denied": "Cancelled"
2820+
},
2821+
"deleteList": {
2822+
"active": "Deleting list...",
2823+
"done": "Deleted list",
2824+
"denied": "Cancelled"
2825+
},
27262826
"fallbackActive": "Using {toolName}...",
27272827
"fallbackDone": "Used {toolName}",
27282828
"fallbackDenied": "Cancelled {toolName}"

test/prettier.config.test.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import config from "../prettier.config.js";
2+
import { test, expect } from "bun:test";
3+
4+
test("Use spaces instead of tabs", () => {
5+
expect(config.useTabs).toBe(false);
6+
});
7+
8+
test("Use two spaces for a tab", () => {
9+
expect(config.tabWidth).toBe(2);
10+
});

0 commit comments

Comments
 (0)