mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-25 06:35:45 +02:00
👷 Adds an action to cache artifacts, to speed up build
This commit is contained in:
parent
a87dab117a
commit
c849a53a3d
13
.github/workflows/cache-artifacts.yml
vendored
Normal file
13
.github/workflows/cache-artifacts.yml
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Caches artifacts, including NPM dependencies, to speed up build times
|
||||||
|
name: Caching Primes
|
||||||
|
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-
|
Loading…
x
Reference in New Issue
Block a user