feat: add GitHub Actions workflows for code quality and automation (#2)

This commit is contained in:
2025-02-02 00:42:19 +02:00
committed by GitHub
parent af6ecdf6ca
commit 210aa969b3
105 changed files with 8807 additions and 408 deletions

17
biome-check/README.md Normal file
View File

@@ -0,0 +1,17 @@
# ivuorinen/actions/biome-check
## Biome Check
### Description
Run Biome check on the repository
### Runs
This action is a `composite` action.
### Usage
```yaml
- uses: ivuorinen/actions/biome-check@main
```

36
biome-check/action.yml Normal file
View File

@@ -0,0 +1,36 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-action.json
name: Biome Check
description: Run Biome check on the repository
author: Ismo Vuorinen
branding:
icon: check-circle
color: green
runs:
using: composite
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set Git Config
uses: ivuorinen/actions/set-git-config@main
- name: Node Setup
uses: ivuorinen/actions/node-setup@main
- name: Install Dependencies
shell: bash
run: |
npm install -g biome
- name: Run Biome Check
shell: bash
run: |
biome check . --json > biome-report.json
- name: Upload Biome Results
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: biome-report.json