From 096c532475ac3255dc9ca4ceebef76e9e3066fa0 Mon Sep 17 00:00:00 2001 From: Matt Date: Thu, 16 May 2024 23:18:05 -0500 Subject: [PATCH] chore: update lint yml --- .github/workflows/lint.yml | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 86fe941e..461742b1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,32 +1,18 @@ -name: Continuous Integration +name: Code quality -# This action works with pull requests and pushes on: - pull_request: push: - branches: - - master + pull_request: jobs: - run-linters: - name: Run linters + quality: runs-on: ubuntu-latest - steps: - - name: Check out Git repository + - name: Checkout uses: actions/checkout@v4 - - - name: Set up Node.js - uses: actions/setup-node@v4.0.2 - with: - node-version: 18 - - # ESLint and Prettier must be in `package.json` - - name: Install Node.js dependencies - run: yarn install --immutable - - - name: Run linters - uses: wearerequired/lint-action@v2 + - name: Setup Biome + uses: biomejs/setup-biome@v2 with: - eslint: false - prettier: true + version: latest + - name: Run Biome + run: biome ci .