Skip to content

Commit

Permalink
chore: don't restore cached node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayakkulkarni committed May 18, 2021
1 parent c8043d1 commit 2457743
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,6 @@ jobs:
- name: Upgrade npm 🎉
run: npm install -g npm@latest

- name: Get npm cache directory 🏗
id: npm-cache
run: echo "::set-output name=dir::$(npm config get cache)"

- name: Restore cached node_modules 🤷‍♂️
uses: actions/cache@v2.1.5
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-

- name: Install dependencies 🚀
run: npm i --prefer-offline --no-audit --no-optional

Expand Down

0 comments on commit 2457743

Please sign in to comment.