From d26633cd0f4b93690f610c0e0d0fef34856b740e Mon Sep 17 00:00:00 2001 From: david zhou Date: Mon, 18 Mar 2024 03:52:03 +1100 Subject: [PATCH] adjust ci --- .github/workflows/pre-merge.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pre-merge.yml b/.github/workflows/pre-merge.yml index 0928b1d5e..34d86b2b6 100644 --- a/.github/workflows/pre-merge.yml +++ b/.github/workflows/pre-merge.yml @@ -7,18 +7,12 @@ on: jobs: sanity: runs-on: ubuntu-latest - steps: - uses: actions/checkout@v4 - - name: Lint + - name: Install Dependency working-directory: ./client - run: npm run lint - - lint: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 + run: npm install - name: Lint working-directory: ./client run: npm run lint +