Skip to content

Commit

Permalink
Cache node modules
Browse files Browse the repository at this point in the history
  • Loading branch information
AshMartian committed Nov 24, 2023
1 parent d5f2f5d commit 2f808ce
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
Expand Down

0 comments on commit 2f808ce

Please sign in to comment.