We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c79b0b9 + f2e622a commit 8fc7087Copy full SHA for 8fc7087
.github/workflows/nodejs.yml
@@ -23,7 +23,19 @@ jobs:
23
uses: actions/setup-node@v1
24
with:
25
node-version: ${{ matrix.node-version }}
26
- - run: npm install
+ - name: Use cached node_modules
27
+ id: cache
28
+ uses: actions/cache@v1
29
+ with:
30
+ path: node_modules
31
+ key: nodeModules-${{ hashFiles('**/yarn.lock') }}-${{ matrix.node-version }}
32
+ restore-keys: |
33
+ nodeModules-
34
+ - name: Install dependencies
35
+ if: steps.cache.outputs.cache-hit != 'true'
36
+ run: npm install
37
+ env:
38
+ CI: true
39
- run: npm run prepare
40
- run: npm test
41
env:
0 commit comments