From 2f808ce99bdf23486cb9a03b738ac481e578d64d Mon Sep 17 00:00:00 2001 From: Ash Martian Date: Fri, 24 Nov 2023 11:42:10 -0800 Subject: [PATCH] Cache node modules --- .github/workflows/push.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index af74c7f..fbc57f4 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -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: