Dynamically serve .webp and .avif from a .png URL (#34412)
This commit is contained in:
6
.github/actions/node-npm-setup/action.yml
vendored
6
.github/actions/node-npm-setup/action.yml
vendored
@@ -7,9 +7,10 @@ runs:
|
||||
steps:
|
||||
- name: Cache node_modules
|
||||
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
|
||||
id: cache-node_modules
|
||||
with:
|
||||
path: node_modules
|
||||
key: ${{ runner.os }}-node_modules-${{ hashFiles('package*.json') }}
|
||||
key: ${{ runner.os }}-node_modules-${{ hashFiles('package*.json') }}-${{ hashFiles('.github/actions/node-npm-setup/action.yml') }}
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
|
||||
@@ -18,5 +19,6 @@ runs:
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
if: ${{ steps.cache-node_modules.outputs.cache-hit != 'true' }}
|
||||
shell: bash
|
||||
run: npm install --prefer-offline --no-audit --ignore-scripts
|
||||
run: npm ci
|
||||
|
||||
Reference in New Issue
Block a user