Corrected Windows NPM Cache for GitHub Workflow
This closes
@@ -261,16 +261,12 @@ jobs:
git config --global core.longpaths true
- name: Checkout Code
uses: actions/checkout@v3
- - name: Get NPM Cache Directory
- id: npm-cache-directory
- run: |
- echo "::set-output name=directory::$(npm config get cache)"
- name: Cache Node Modules
uses: actions/cache@v3
with:
path: |
- ${{ steps.npm-cache-directory.outputs.directory }}
- **/node_modules
+ ~\AppData\npm-cache
+ **\node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
- name: Set up Java 8
uses: actions/setup-java@v3
