Skip to content

Commit

Permalink
Remove cache to speed up builds on GitHub Actions
Browse files Browse the repository at this point in the history
For whatever reason, the post-cache step hangs takes 10x
the time of the build.
  • Loading branch information
gemmadlou committed Sep 2, 2024
1 parent b1c3163 commit a980b32
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a980b32

Please sign in to comment.