diff --git a/.github/workflows/wasm.yml b/.github/workflows/wasm.yml index c01481706..f461494c6 100644 --- a/.github/workflows/wasm.yml +++ b/.github/workflows/wasm.yml @@ -29,7 +29,13 @@ jobs: uses: actions/setup-node@v2 with: node-version: 14 - cache: npm + + - uses: actions/cache@v2 + with: + path: ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- - name: Install test dependencies working-directory: ./test/wasm