From 072ebf566fa462eda808a3dbd302c3daaf0b1ed7 Mon Sep 17 00:00:00 2001 From: tapeds Date: Mon, 23 Dec 2024 00:21:46 +0700 Subject: [PATCH] ci: merge lint workflow --- .../workflows/{lint.yml => code-check.yml} | 25 ++----------------- 1 file changed, 2 insertions(+), 23 deletions(-) rename .github/workflows/{lint.yml => code-check.yml} (57%) diff --git a/.github/workflows/lint.yml b/.github/workflows/code-check.yml similarity index 57% rename from .github/workflows/lint.yml rename to .github/workflows/code-check.yml index 4408c87..26c4ea6 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/code-check.yml @@ -8,7 +8,7 @@ on: jobs: lint: - name: ⬣ Biome + name: ⬣ Check runs-on: ubuntu-latest steps: - name: ⬇️ Checkout repo @@ -28,29 +28,8 @@ jobs: - name: 📥 Download deps run: pnpm install --frozen-lockfile - - name: 🔬 Check + - name: 🔬 Biome Check run: pnpm run check - typecheck: - name: ʦ TypeScript - runs-on: ubuntu-latest - steps: - - name: ⬇️ Checkout repo - uses: actions/checkout@v4 - - - name: 🤌 Setup pnpm - uses: pnpm/action-setup@v3 - with: - version: 9 - - - name: ⎔ Setup node - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: "pnpm" - - - name: 📥 Download deps - run: pnpm install --frozen-lockfile - - name: 🔎 Type check run: pnpm run typecheck