mirror of
https://github.com/Paillat-dev/svelte-github-calendar.git
synced 2026-01-02 01:06:20 +00:00
🎨 Format code and fix typescript shit
This commit is contained in:
8
.github/workflows/CI.yaml
vendored
8
.github/workflows/CI.yaml
vendored
@@ -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]
|
||||||
|
|
||||||
@@ -21,4 +21,4 @@ jobs:
|
|||||||
uses: ./.github/workflows/publish.yaml
|
uses: ./.github/workflows/publish.yaml
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
2
.github/workflows/publish.yaml
vendored
2
.github/workflows/publish.yaml
vendored
@@ -46,4 +46,4 @@ jobs:
|
|||||||
- name: Publish to NPM
|
- name: Publish to NPM
|
||||||
run: pnpm publish --access public --provenance
|
run: pnpm publish --access public --provenance
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|||||||
16
.github/workflows/quality.yaml
vendored
16
.github/workflows/quality.yaml
vendored
@@ -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:
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|
||||||
|
|||||||
@@ -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" />
|
||||||
|
|||||||
Reference in New Issue
Block a user