Skip to content

Commit

Permalink
Add back caching
Browse files Browse the repository at this point in the history
  • Loading branch information
cy-by committed Jun 11, 2024
1 parent 0199018 commit d71b56a
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/deploy-to-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,17 @@ jobs:
with:
node-version: "18"

# - name: Persist npm cache
# uses: actions/cache@v3
# with:
# path: ~/.npm
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
# restore-keys: |
# ${{ runner.os }}-node-

# - name: Persist Eleventy .cache
# uses: actions/cache@v3
# with:
# path: ./.cache
# key: ${{ runner.os }}-eleventy-fetch-cache
- name: Persist npm cache
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}

- name: Persist Eleventy .cache
uses: actions/cache@v3
with:
path: ./.cache
key: ${{ runner.os }}-eleventy-fetch-cache

- name: Install dependencies
run: npm install
Expand Down

0 comments on commit d71b56a

Please sign in to comment.