diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 03db250..27bc858 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,20 +14,20 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Cache Node Modules + - uses: actions/checkout@v2 + - name: Cache Node Modules id: realgolfgames-logs-cache-node-modules uses: actions/cache@v2 - env: - cache-name: cache-node-modules + env: + cache-name: cache-node-modules with: - path: ~/.npm - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-build-${{ env.cache-name }}- - ${{ runner.os }}-build- - ${{ runner.os }}- - - - name: Install dependencies + path: ~/.npm + key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-build-${{ env.cache-name }}- + ${{ runner.os }}-build- + ${{ runner.os }}- + + - name: Install dependencies if: steps.realgolfgames-logs-cache-node-modules.outputs.cache-hit != 'true' run: npm install