mirror of
https://github.com/maxswa/osrs-json-hiscores.git
synced 2025-10-15 10:19:04 +00:00
Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d097567a3c | ||
![]() |
be5c093cf7 | ||
![]() |
db72f0c57d | ||
![]() |
bd2ea21980 | ||
![]() |
d67837c161 | ||
![]() |
4aa6ad2752 |
18
.github/workflows/main.yml
vendored
Normal file
18
.github/workflows/main.yml
vendored
Normal 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
|
@@ -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 },
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "osrs-json-hiscores",
|
||||
"version": "2.3.1",
|
||||
"version": "2.3.2",
|
||||
"description": "The Oldschool Runescape API wrapper that does more!",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
@@ -44,7 +44,7 @@
|
||||
"@types/jest": "^26.0.20",
|
||||
"@types/jsdom": "^16.2.3",
|
||||
"jest": "^26.6.3",
|
||||
"np": "^5.0.3",
|
||||
"np": "6.5.0",
|
||||
"prettier": "^1.19.1",
|
||||
"ts-jest": "^26.4.4",
|
||||
"tslint": "^5.17.0",
|
||||
|
@@ -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',
|
||||
|
Reference in New Issue
Block a user