mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-18 06:21:35 +03:00
14 lines
361 B
YAML
14 lines
361 B
YAML
# Caches artifacts, including NPM dependencies, to speed up build times
|
|
name: 🏗️ Caching Artifacts
|
|
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-
|