Skip to content

Commit

Permalink
test: github action cache node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
hq001 committed Dec 19, 2020
1 parent 4a59a12 commit 4071ca7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12
- name: Load node_modules
uses: actions/cache@v2
with:
path: ~/.yarn
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
- name: lint
run: yarn lint
- name: build
Expand Down

0 comments on commit 4071ca7

Please sign in to comment.