Skip to content

CI: Add commit and biome lint to CI #1

CI: Add commit and biome lint to CI

CI: Add commit and biome lint to CI #1

Workflow file for this run

name: Lint and Biome Check
# Run the workflow when code is pushed or when a pull request is created
on:
push:
branches:
- '**'
pull_request:
branches:
- main
jobs:
lint-and-biome:
name: Lint Commit and Run Biome
runs-on: ubuntu-latest
steps:
# Checkout the repository so the workflow has access to the code
- name: Checkout code
uses: actions/checkout@v3
# Run the lint-commit.sh script
- name: Run lint-commit.sh
run: scripts/lint-commit.sh .git/COMMIT_EDITMSG
# Run the run-biome.sh script
- name: Run run-biome.sh
run: scripts/run-biome.sh