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-