Merge remote-tracking branch 'upstream/main' into splashcat-exporter-v2
commit
55bdb2d284
|
|
@ -7,7 +7,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
deno: [1.x, "1.31.x", canary]
|
deno: [1.x, "1.37.x", canary]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: denoland/setup-deno@v1
|
- uses: denoland/setup-deno@v1
|
||||||
|
|
@ -15,8 +15,10 @@ jobs:
|
||||||
deno-version: ${{ matrix.deno }}
|
deno-version: ${{ matrix.deno }}
|
||||||
- name: Check fmt
|
- name: Check fmt
|
||||||
run: deno fmt --check
|
run: deno fmt --check
|
||||||
|
if: ${{ matrix.deno != '1.31.x' }}
|
||||||
- name: Run lint
|
- name: Run lint
|
||||||
run: deno lint
|
run: deno lint
|
||||||
|
if: ${{ matrix.deno != '1.31.x' }}
|
||||||
- name: All entries
|
- name: All entries
|
||||||
uses: tj-actions/glob@v16
|
uses: tj-actions/glob@v16
|
||||||
id: entries
|
id: entries
|
||||||
|
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
||||||
name: Constant Check
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
schedule:
|
|
||||||
- cron: "0 0 * * *"
|
|
||||||
jobs:
|
|
||||||
check:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: denoland/setup-deno@v1
|
|
||||||
with:
|
|
||||||
deno-version: 1.x
|
|
||||||
- name: Check constant updates
|
|
||||||
run: deno run -A ./scripts/update-constant.ts
|
|
||||||
- name: Check if workspace is clean
|
|
||||||
run: git diff --exit-code
|
|
||||||
|
|
@ -40,7 +40,7 @@ import {
|
||||||
urlSimplify,
|
urlSimplify,
|
||||||
} from "../utils.ts";
|
} from "../utils.ts";
|
||||||
import { Env } from "../env.ts";
|
import { Env } from "../env.ts";
|
||||||
import GEAR_MAP from "../assets/gear-map.json" assert { type: "json" };
|
import GEAR_MAP from "../assets/gear-map.json" with { type: "json" };
|
||||||
|
|
||||||
const COOP_POINT_MAP: Record<number, number | undefined> = {
|
const COOP_POINT_MAP: Record<number, number | undefined> = {
|
||||||
0: -20,
|
0: -20,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue