Skip to content

refactor: improve button layout and styling #28

refactor: improve button layout and styling

refactor: improve button layout and styling #28

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
markdown-lint:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install and run markdownlint
id: markdownlint
run: |
bun install markdownlint-cli2
bunx --bun markdownlint-cli2 --config .markdownlint-cli2.jsonc --fix
- name: Commit fixes
run: |
if [[ -n $(git status --porcelain) ]]; then
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add .
git commit -m "docs: fix markdown formatting"
git push
fi
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Build
run: bun run build
- name: Run tests
run: bun test
- name: Run linting
run: bun run lint