Skip to content

chore: Configure Renovate #30

chore: Configure Renovate

chore: Configure Renovate #30

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run linters
uses: sibiraj-s/action-eslint@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
eslint-args: '--quiet'
annotations: true
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run formatters
run: 'bunx prettier --check "src/**/*.{js,ts,html,svelte,css}" --ignore-path ./.prettierignore'
- name: Check if files are formatted correctly
if: failure()
run: echo "Some files are not formatted correctly. Please run 'bun run format' to fix them."