🎨 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
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

View File

@@ -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 }}

View File

@@ -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: