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.
1 parent 3b5076d commit 828fdaaCopy full SHA for 828fdaa
.github/workflows/nodejs.yml
@@ -78,7 +78,16 @@ jobs:
78
if: matrix.os == 'windows-latest'
79
run: npm i -g npm
80
81
+ - name: Cache Node.js modules
82
+ id: cache
83
+ uses: actions/cache@v2
84
+ with:
85
+ # npm cache files are stored in `~/.npm` on Linux/macOS
86
+ path: ~/.npm
87
+ key: ${{ runner.OS }}-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
88
+
89
- name: Install dependencies
90
+ if: steps.cache.outputs.cache-hit != 'true'
91
run: npm ci
92
93
- name: Install webpack ${{ matrix.webpack-version }}
0 commit comments