parent
f95ac996a7
commit
b6a9fd071a
@ -11,19 +11,11 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: actions/setup-node@v3
|
- uses: https://github.com/actions/setup-node@v4
|
||||||
- uses: actions/go-hashfiles@v0.0.1
|
|
||||||
id: get-hash
|
|
||||||
with:
|
|
||||||
patterns: |-
|
|
||||||
**/package-lock.json
|
|
||||||
- name: Cache dependencies
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
version: 'latest'
|
||||||
key: ${{ runner.os }}-node-${{ steps.get-hash.outputs.hash }}
|
cache: 'npm'
|
||||||
restore-keys: |
|
cache-dependency-path: 'package-lock.json'
|
||||||
${{ runner.os }}-node-
|
|
||||||
- run: npm i
|
- run: npm i
|
||||||
- run: npx quartz build
|
- run: npx quartz build
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
|
Loading…
Reference in New Issue
Block a user