From a980b32c4cc49140a7413d50867ca7e3d229c614 Mon Sep 17 00:00:00 2001 From: Gemma Black Date: Mon, 2 Sep 2024 13:41:50 +0200 Subject: [PATCH] Remove cache to speed up builds on GitHub Actions For whatever reason, the post-cache step hangs takes 10x the time of the build. --- .github/workflows/test.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1c76b1b..c48c59c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,14 +16,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} - - name: Cache npm dependencies - uses: actions/cache@v3 - id: npm-cache - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ matrix.node }}-npm-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node-${{ matrix.node }}-npm- + - name: Install npm dependencies run: npm ci - name: Run Vitest tests