Merge pull request #808 from arifszn/codex/remove-manual-cache-restore-from-files
Remove redundant cache restore steps from workflows
This commit is contained in:
commit
800a30de9f
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
@ -31,13 +31,6 @@ jobs:
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v4
|
||||
|
||||
- name: Restore cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
**/node_modules
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
|
||||
7
.github/workflows/test-deploy.yml
vendored
7
.github/workflows/test-deploy.yml
vendored
@ -17,13 +17,6 @@ jobs:
|
||||
node-version: 20.x
|
||||
cache: 'npm'
|
||||
|
||||
- name: Restore cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
**/node_modules
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user