From 395a187b36e6e3bb909b5c4e9ad26f94886c0fad Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sat, 27 Dec 2025 00:49:55 +0100 Subject: [PATCH] try caching the NPM packages --- .forgejo/workflows/playing-around.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.forgejo/workflows/playing-around.yaml b/.forgejo/workflows/playing-around.yaml index d3873ea..e062b9a 100644 --- a/.forgejo/workflows/playing-around.yaml +++ b/.forgejo/workflows/playing-around.yaml @@ -16,6 +16,14 @@ jobs: with: node-version: "22" + - name: Cache node modules + uses: actions/cache@v4 + with: + path: ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + - name: Install dependencies run: npm ci