Browse Source

CI: cache package-lock.json

pull/686/head
Philip H. 1 year ago
committed by GitHub
parent
commit
218ad867cf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .github/workflows/lint.yml
  2. 3
      .github/workflows/npm-update-bot.yml

3
.github/workflows/lint.yml

@ -20,6 +20,9 @@ jobs:
node-version: 'current' node-version: 'current'
check-latest: true check-latest: true
cache: 'npm' cache: 'npm'
cache-dependency-path: |
package-lock.json
src/package-lock.json
- name: npm run lint - name: npm run lint
run: | run: |

3
.github/workflows/npm-update-bot.yml

@ -19,6 +19,9 @@ jobs:
node-version: 'current' node-version: 'current'
check-latest: true check-latest: true
cache: 'npm' cache: 'npm'
cache-dependency-path: |
package-lock.json
src/package-lock.json
- name: Bot 🤖 "Updating NPM Packages..." - name: Bot 🤖 "Updating NPM Packages..."
run: | run: |

Loading…
Cancel
Save