Compare commits

...

2 Commits

Author SHA1 Message Date
maxswa
d67837c161 Fix flipped BH modes. 2021-02-13 10:50:58 -05:00
Max Swartwout
4aa6ad2752 Add github action. 2021-02-13 10:48:31 -05:00
3 changed files with 25 additions and 7 deletions

18
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: borales/actions-yarn@v2.0.0
with:
cmd: install
- uses: borales/actions-yarn@v2.0.0
with:
cmd: build
- uses: borales/actions-yarn@v2.0.0
with:
cmd: test

View File

@@ -32,9 +32,9 @@ test('Parse CSV to json', () => {
169,99,43127930
810,99,37688883
92,99,32005622
-1,-1
-1,-1
-1,-1
23423,478
99831,23
89912,37
32,12148
3105,76
1997,505
@@ -116,10 +116,10 @@ test('Parse CSV to json', () => {
hunter: { rank: 810, level: 99, xp: 37688883 },
construction: { rank: 92, level: 99, xp: 32005622 },
},
leaguePoints: { rank: -1, score: -1 },
leaguePoints: { rank: 23423, score: 478 },
bountyHunter: {
rogue: { rank: -1, score: -1 },
hunter: { rank: -1, score: -1 },
hunter: { rank: 99831, score: 23 },
rogue: { rank: 89912, score: 37 },
},
lastManStanding: { rank: 4814, score: 898 },
soulWarsZeal: { rank: 37, score: 225 },

View File

@@ -59,7 +59,7 @@ export const CLUES: ClueType[] = [
'elite',
'master',
];
export const BH_MODES: BHType[] = ['rogue', 'hunter'];
export const BH_MODES: BHType[] = ['hunter', 'rogue'];
export const GAMEMODES: Gamemode[] = [
'main',
'ironman',