From 35194cb6c0179b670072ed0d6bcd5b252fdf67b5 Mon Sep 17 00:00:00 2001 From: Leroy Hopson Date: Sat, 28 Jun 2025 18:35:08 +1200 Subject: [PATCH] fix(ci): update npm cache action Replaces the (now deprecated) c-hive/gha-npm-cache with actions/setup-node which now has the same functionality. --- .github/workflows/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1b70324..2a1c470 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -210,10 +210,12 @@ jobs: - name: Export for web shell: bash run: godot --no-window --export-release Web - - name: NPM cache - uses: c-hive/gha-npm-cache@v1 + - name: Setup Node.js + uses: actions/setup-node@v4 with: - directory: test/web + node-version: "20" + cache: "npm" + cache-dependency-path: test/web/package-lock.json - name: Smoke test Web export shell: bash working-directory: test/web