We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43cb074 commit 54cfe7dCopy full SHA for 54cfe7d
.github/workflows/ci.yaml
@@ -37,6 +37,18 @@ jobs:
37
- uses: actions/setup-node@v2
38
with:
39
node-version: ${{ env.NODE }}
40
+ - name: Get npm cache directory
41
+ id: npm-cache
42
+ run: |
43
+ echo "::set-output name=dir::$(npm config get cache)"
44
+ - name: Set up npm cache
45
+ uses: actions/cache@v2
46
+ with:
47
+ path: ${{ steps.npm-cache.outputs.dir }}
48
+ key: ${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
49
+ restore-keys: |
50
+ ${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
51
+ ${{ runner.os }}-node-v${{ env.NODE }}-
52
- run: npm ci
53
- run: npm test
54
lint:
0 commit comments