Fix content path detection on Windows (#9569)
* Fix content path detection on Windows * Update changelog * Drop npm caches for now
This commit is contained in:
parent
042089a775
commit
9c48973a57
3 changed files with 17 additions and 10 deletions
20
.github/workflows/nodejs.yml
vendored
20
.github/workflows/nodejs.yml
vendored
|
|
@ -26,19 +26,19 @@ jobs:
|
|||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
# cache: 'npm'
|
||||
|
||||
- name: Use cached node_modules
|
||||
id: cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: node_modules
|
||||
key: nodeModules-${{ hashFiles('**/package-lock.json') }}-${{ matrix.node-version }}
|
||||
restore-keys: |
|
||||
nodeModules-
|
||||
# - name: Use cached node_modules
|
||||
# id: cache
|
||||
# uses: actions/cache@v3
|
||||
# with:
|
||||
# path: node_modules
|
||||
# key: nodeModules-${{ hashFiles('**/package-lock.json') }}-${{ matrix.node-version }}
|
||||
# restore-keys: |
|
||||
# nodeModules-
|
||||
|
||||
- name: Install dependencies
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
# if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: npm install
|
||||
env:
|
||||
CI: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue