mirror of
https://github.com/status-im/actions-hugo.git
synced 2025-01-09 12:25:42 +00:00
gha: Add cache step (#87)
This commit is contained in:
parent
b93236ba6f
commit
10b88ee9bf
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@ -29,6 +29,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '${{ steps.nvm.outputs.NVMRC }}'
|
node-version: '${{ steps.nvm.outputs.NVMRC }}'
|
||||||
|
|
||||||
|
- name: Cache
|
||||||
|
uses: actions/cache@v1.0.1
|
||||||
|
with:
|
||||||
|
path: ~/.npm
|
||||||
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-node-
|
||||||
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
|
|
||||||
- run: npm run format:check
|
- run: npm run format:check
|
||||||
|
Loading…
x
Reference in New Issue
Block a user