add cache again
Some checks failed
Build / build (push) Failing after 10s

This commit is contained in:
Tomoya Matsuura(MacBookPro) 2024-02-05 01:53:16 +09:00
parent 3aca09571c
commit 55d9265841

View File

@ -19,6 +19,18 @@ jobs:
with:
node-version: 'latest'
cache: 'npm'
- uses: actions/go-hashfiles@v0.0.1
id: get-hash
with:
patterns: |-
**/package-lock.json
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ steps.get-hash.outputs.hash }}
restore-keys: |
${{ runner.os }}-node-
- run: npm i
- run: npx quartz build
- name: Create private key