🎨 Format code and fix typescript shit

This commit is contained in:
Paillat
2025-08-28 12:04:12 +02:00
parent 7b2a9754c5
commit 8613569a0a
5 changed files with 15 additions and 14 deletions

View File

@@ -1,11 +1,11 @@
name: CI name: CI
on: on:
push: push:
branches: [ "master", "dev" ] branches: ['master', 'dev']
# Publish semver tags as releases. # Publish semver tags as releases.
tags: ['v*.*.*'] tags: ['v*.*.*']
pull_request: pull_request:
branches: ["master", "dev"] branches: ['master', 'dev']
release: release:
types: [created] types: [created]

View File

@@ -11,17 +11,17 @@ jobs:
check: [format, lint, typecheck, build] check: [format, lint, typecheck, build]
include: include:
- check: format - check: format
name: "Format Check" name: 'Format Check'
command: "pnpm prettier --check ." command: 'pnpm prettier --check .'
- check: lint - check: lint
name: "Lint Check" name: 'Lint Check'
command: "pnpm eslint ." command: 'pnpm eslint .'
- check: typecheck - check: typecheck
name: "Type Check" name: 'Type Check'
command: "pnpm check" command: 'pnpm check'
- check: build - check: build
name: "Build Check" name: 'Build Check'
command: "pnpm build" command: 'pnpm build'
name: ${{ matrix.name }} name: ${{ matrix.name }}
steps: steps:

View File

@@ -1,4 +1,5 @@
<script lang="ts"> <script lang="ts">
// @ts-ignore
import GithubCalendar from 'github-calendar'; import GithubCalendar from 'github-calendar';
import { onMount } from 'svelte'; import { onMount } from 'svelte';

View File

@@ -1,5 +1,5 @@
<script lang="ts"> <script lang="ts">
import { GitHubCalendar } from '$lib'; import { GitHubCalendar } from 'svelte-github-calendar';
</script> </script>
<GitHubCalendar username="Paillat-dev" class="w-full h-auto" /> <GitHubCalendar username="Paillat-dev" class="w-full h-auto" />