From ecceaa961cc2a3240fe17ce240552a85ed4bc893 Mon Sep 17 00:00:00 2001 From: embeddedt <42941056+embeddedt@users.noreply.github.com> Date: Fri, 12 Apr 2024 22:07:20 -0400 Subject: [PATCH] Modernize action & add caching --- .github/workflows/build-deploy.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-deploy.yaml b/.github/workflows/build-deploy.yaml index a57e8e1..991b085 100644 --- a/.github/workflows/build-deploy.yaml +++ b/.github/workflows/build-deploy.yaml @@ -15,11 +15,12 @@ jobs: contents: write steps: - name: Checkout 🛎️ - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Use Node LTS - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: "16" # lts + cache: 'npm' # This build runs with path prefix for github pages (hosted on subdirectory), # for example https://.github.io//