diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fd0d735..2316b5a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,6 +29,14 @@ jobs: with: node-version: '${{ steps.nvm.outputs.NVMRC }}' + - name: Cache + uses: actions/cache@v1.0.1 + with: + path: ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + - run: npm ci - run: npm run format:check