Merge remote-tracking branch 'upstream/main' into nxapi-presence

nxapi-presence
Rosalina 2024-01-16 08:42:46 -05:00
commit 32200ce9bb
No known key found for this signature in database
3 changed files with 4 additions and 24 deletions

View File

@ -7,7 +7,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
deno: [1.x, "1.31.x", canary]
deno: [1.x, "1.37.x", canary]
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
@ -15,8 +15,10 @@ jobs:
deno-version: ${{ matrix.deno }}
- name: Check fmt
run: deno fmt --check
if: ${{ matrix.deno != '1.31.x' }}
- name: Run lint
run: deno lint
if: ${{ matrix.deno != '1.31.x' }}
- name: All entries
uses: tj-actions/glob@v16
id: entries

View File

@ -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

View File

@ -40,7 +40,7 @@ import {
urlSimplify,
} from "../utils.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> = {
0: -20,