Remove unnecessary CI cache
This commit is contained in:
3
.github/actions/setup/action.yml
vendored
3
.github/actions/setup/action.yml
vendored
@ -6,14 +6,13 @@ runs:
|
|||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 14.x
|
||||||
cache: npm
|
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
id: cache
|
id: cache
|
||||||
with:
|
with:
|
||||||
path: '**/node_modules'
|
path: '**/node_modules'
|
||||||
key: npm-v3-${{ hashFiles('**/package-lock.json') }}
|
key: npm-v3-${{ hashFiles('**/package-lock.json') }}
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci --prefer-offline
|
run: npm ci
|
||||||
shell: bash
|
shell: bash
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user