Skip to content

Commit

Permalink
chore: added svelte-check to gh ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dafuga committed Oct 3, 2024
1 parent c51d893 commit 31f0cee
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 9 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fetch-depth: 1
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun lint
- run: bun run lint
types:
runs-on: ubuntu-latest
steps:
Expand All @@ -35,3 +35,14 @@ jobs:
- run: bun install
- run: bun run build-paraglide
- run: bunx tsc --noemit

sveltekit-check:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun run check
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'contract',
new Contract({
abi: data.abi,
account: data.contract,
account: String(data.contract),
client: data.network.client
})
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<Pageheader
title="Contract Overview"
subtitle={m.contract_view_description({
contract: data.contract,
contract: String(data.contract),
network: data.network.chain.name,
tables: data.abi.tables.length,
structs: data.abi.structs.length,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<Pageheader
title={m.contract_abi_page_title()}
subtitle={m.contract_abi_page_description({
contract: data.contract,
contract: String(data.contract),
network: data.network.chain.name
})}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
title={m.contract_actions_page_title()}
subtitle={m.contract_actions_page_description({
actions: data.abi.actions.length,
contract: data.contract,
contract: String(data.contract),
network: data.network.chain.name
})}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
})}
subtitle={m.contract_action_view_description({
action: data.action.name,
contract: data.contract,
contract: String(data.contract),
network: data.network.chain.name
})}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
title={m.contract_struct_page_title()}
subtitle={m.contract_struct_page_description({
structs: data.abi.structs.length,
contract: data.contract,
contract: String(data.contract),
network: data.network.chain.name
})}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
title={m.contract_tables_page_title()}
subtitle={m.contract_tables_page_description({
tables: data.abi.tables.length,
contract: data.contract,
contract: String(data.contract),
network: data.network.chain.name
})}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
table: data.table
})}
subtitle={m.contract_tables_view_description({
contract: data.contract,
contract: String(data.contract),
network: data.network.chain.name,
table: data.table
})}
Expand Down

0 comments on commit 31f0cee

Please sign in to comment.