Skip to content

Commit

Permalink
simplify GitHub Actions Cache config
Browse files Browse the repository at this point in the history
  • Loading branch information
marcuspoehls committed Nov 3, 2023
1 parent 4128eda commit 8aedfeb
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Restore dependencies
uses: actions/cache@v3
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-node-${{ matrix.node-version}}-${{ hashFiles('**/package.json') }}
cache: 'npm'
cache-dependency-path: '**/package.json'

- name: Install dependencies
run: npm install
Expand Down

0 comments on commit 8aedfeb

Please sign in to comment.