From 7a5c59d0df27ecfb2e146ee8806a7aa86407f3be Mon Sep 17 00:00:00 2001 From: dafuga Date: Wed, 2 Oct 2024 17:59:29 -0700 Subject: [PATCH] chore: added env variables to gh checks --- .github/workflows/check.yml | 10 ++++++++++ src/lib/i18n.ts | 2 +- src/routes/+page.svelte | 2 +- .../contract/[contract]/structs/[struct]/+page.ts | 2 +- .../(explorer)/contract/[contract]/tables/+page.ts | 2 +- 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 740fe7b6..8176be14 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -3,6 +3,16 @@ name: Code Checks on: push: +env: + PUBLIC_LOCAL_SIGNER: '' + API_EOS_CHAIN: 'https://eos.greymass.com' + API_EOS_HISTORY: 'https://eos.greymass.com' + API_EOS_METRICS: 'https://unicove-eos.greymass.io/api' + API_JUNGLE4_CHAIN: 'https://jungle4.greymass.com' + API_JUNGLE4_HISTORY: 'https://jungle4.greymass.com' + API_KYLIN_CHAIN: 'https://kylin.greymass.com' + API_KYLIN_HISTORY: 'https://kylin.greymass.com' + jobs: formatting: runs-on: ubuntu-latest diff --git a/src/lib/i18n.ts b/src/lib/i18n.ts index 37b9e459..33e32516 100644 --- a/src/lib/i18n.ts +++ b/src/lib/i18n.ts @@ -1,5 +1,5 @@ import { createI18n } from '@inlang/paraglide-sveltekit'; -import * as runtime from './paraglide/runtime.js'; +import * as runtime from './paraglide/runtime'; import type { Asset } from '@wharfkit/antelope'; export const i18n = createI18n(runtime, { diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 153210e1..fbf882cc 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,5 +1,5 @@