GitHub workflow cache key

This commit is contained in:
Zach Leatherman 2024-03-07 07:57:06 -06:00 committed by GitHub
parent 25dc5d0452
commit 4a50a70c0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,9 +24,15 @@ jobs:
- name: Cache dependencies - name: Cache dependencies
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: | path: ~/.npm
~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
./.cache
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ./.cache
key: ${{ runner.os }}-eleventy-fetch-cache
- run: npm install - run: npm install
- run: npm run build-ghpages - run: npm run build-ghpages