From 30cf0dd94c8270e24dd391ccc0108688ef3d4130 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 15 Apr 2024 17:49:46 +0200 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 44a2d4a20..cedf086df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,20 @@ jobs: - run: npm ci - name: Check Docs run: npm run docs + check-lint: + name: Lint + timeout-minutes: 15 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use Node.js + uses: actions/setup-node@v4 + with: + cache: npm + - name: Install dependencies + run: npm ci + - name: Lint + run: npm run lint build: runs-on: ubuntu-latest timeout-minutes: 30 @@ -55,7 +69,6 @@ jobs: node-version: ${{ matrix.NODE_VERSION }} cache: npm - run: npm ci - - run: npm run lint - run: npm test -- --maxWorkers=4 - run: npm run test:mongodb env: