Skip to content

Commit 2a7bd53

Browse files
committed
build: Add GitHub Actions workflow and Dependabot configuration
pr: RaidTheory#290
1 parent 58b1a7a commit 2a7bd53

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