Skip to content

Commit

Permalink
cache dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbyul-here committed Dec 26, 2020
1 parent c1c62e2 commit 902b825
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ jobs:
uses: actions/[email protected]
with:
node-version: '12.x'
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install
- run: npm run generate
- name: deploy
Expand Down

0 comments on commit 902b825

Please sign in to comment.