Skip to content

Commit

Permalink
🔧 actions add cache
Browse files Browse the repository at this point in the history
  • Loading branch information
zyao89 committed Dec 31, 2019
1 parent fd64c6f commit 8c94e63
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ jobs:
- name: Checkout
uses: actions/checkout@master

- name: Cache node modules
uses: actions/cache@v1
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: install
run: yarn --network-timeout 600000

Expand Down

0 comments on commit 8c94e63

Please sign in to comment.