From 67b0e0c52629b0535a05faa025e1c4311eff052d Mon Sep 17 00:00:00 2001 From: Frederik Prijck Date: Tue, 27 Jan 2026 16:41:53 +0100 Subject: [PATCH] chore: change CI to not rely on uploaded build artifacts for lint step --- .github/workflows/test.yml | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7175be2b..ebd0b9c0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,12 +35,6 @@ jobs: with: node: ${{ env.NODE_VERSION }} - - name: Save build artifacts - uses: actions/cache/save@v5 - with: - path: . - key: ${{ env.CACHE_KEY }} - unit: name: Unit Tests runs-on: ubuntu-latest @@ -59,10 +53,8 @@ jobs: node-version: ${{ matrix.NODE_VERSION }} cache: npm - - name: Build package - uses: ./.github/actions/build - with: - node: ${{ matrix.NODE_VERSION }} + - name: Install dependencies + run: npm ci - name: Run tests run: npm run test:ci @@ -71,8 +63,6 @@ jobs: uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # pin@5.5.2 lint: - needs: build # Require build to complete before running tests - name: Lint Tests runs-on: ubuntu-latest @@ -86,11 +76,8 @@ jobs: node-version: ${{ env.NODE_VERSION }} cache: npm - - name: Restore build artifacts - uses: actions/cache/restore@v5 - with: - path: . - key: ${{ env.CACHE_KEY }} + - name: Install dependencies + run: npm ci - name: Run tests run: npm run lint