From 36884a9588d84ee0e800fdf3dc22adeff8a103ac Mon Sep 17 00:00:00 2001 From: Nick K Date: Thu, 4 Jul 2024 02:06:22 +0300 Subject: [PATCH] chore(workflows): Update linting workflow for Biome --- .github/workflows/{eslint.yml => lint.yml} | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) rename .github/workflows/{eslint.yml => lint.yml} (82%) diff --git a/.github/workflows/eslint.yml b/.github/workflows/lint.yml similarity index 82% rename from .github/workflows/eslint.yml rename to .github/workflows/lint.yml index b86abfa..dde6c20 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/lint.yml @@ -1,27 +1,27 @@ -name: ESLint +name: Lint on: push: branches: [main] paths: - "**.ts" + - "**.js" - "package.json" - "pnpm-lock.yaml" - - ".eslintrc.json" - - ".eslintignore" - - ".github/workflows/eslint.yml" + - "biome.json" + - ".github/workflows/lint.yml" pull_request: branches: [main] paths: - "**.ts" + - "**.js" - "package.json" - "pnpm-lock.yaml" - - ".eslintrc.json" - - ".eslintignore" - - ".github/workflows/eslint.yml" + - "biome.json" + - ".github/workflows/lint.yml" jobs: - eslint: + lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -54,4 +54,4 @@ jobs: - name: Install dependencies run: pnpm i --frozen-lockfile - - run: pnpm run eslint + - run: pnpm run lint