Skip to content

Commit

Permalink
chore: cache node_modules (#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
vpicone authored Mar 5, 2020
1 parent e731abb commit d9f4863
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: '12.x'

- name: node_modules Cache
uses: actions/cache@v1
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install
run: yarn install --pure-lockfile
- name: Publish
Expand Down

1 comment on commit d9f4863

@vercel
Copy link

@vercel vercel bot commented on d9f4863 Mar 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.