diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 352fd43..be2e90f 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -20,6 +20,14 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Cache node_modules + id: cache-node_modules + uses: actions/cache@v1 + with: + path: ~\AppData\Roaming\npm-cache + key: ${{ runner.os }}-node-${{ matrix.node-version }} + restore-keys: | + ${{ runner.os }}-node- - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: