dashy/.github/workflows/cache-artifacts.yml

14 lines
353 B
YAML
Raw Normal View History

# Caches artifacts, including NPM dependencies, to speed up build times
2021-07-22 15:19:45 +02:00
name: Caching Atrifacts
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-