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
|
||||
on:
|
||||
push:
|
||||
branches: [ "master", "dev" ]
|
||||
branches: ['master', 'dev']
|
||||
# Publish semver tags as releases.
|
||||
tags: [ 'v*.*.*' ]
|
||||
tags: ['v*.*.*']
|
||||
pull_request:
|
||||
branches: ["master", "dev"]
|
||||
branches: ['master', 'dev']
|
||||
release:
|
||||
types: [created]
|
||||
|
||||
@@ -21,4 +21,4 @@ jobs:
|
||||
uses: ./.github/workflows/publish.yaml
|
||||
permissions:
|
||||
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
|
||||
run: pnpm publish --access public --provenance
|
||||
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]
|
||||
include:
|
||||
- check: format
|
||||
name: "Format Check"
|
||||
command: "pnpm prettier --check ."
|
||||
name: 'Format Check'
|
||||
command: 'pnpm prettier --check .'
|
||||
- check: lint
|
||||
name: "Lint Check"
|
||||
command: "pnpm eslint ."
|
||||
name: 'Lint Check'
|
||||
command: 'pnpm eslint .'
|
||||
- check: typecheck
|
||||
name: "Type Check"
|
||||
command: "pnpm check"
|
||||
name: 'Type Check'
|
||||
command: 'pnpm check'
|
||||
- check: build
|
||||
name: "Build Check"
|
||||
command: "pnpm build"
|
||||
name: 'Build Check'
|
||||
command: 'pnpm build'
|
||||
|
||||
name: ${{ matrix.name }}
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user