Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

πŸ‘· Adds an action to cache artifacts, to speed up build

Alicia Sykesc849a53a3d83
diff --git a/.github/workflows/cache-artifacts.yml b/.github/workflows/cache-artifacts.yml
new file mode 100644
index 00000000..c418519b
--- /dev/null
+++ b/.github/workflows/cache-artifacts.yml
@@ -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-