ci: update npm cache action

Replaces the (now deprecated) c-hive/gha-npm-cache with
actions/setup-node which now has the same functionality.
This commit is contained in:
Leroy Hopson 2025-06-28 18:35:08 +12:00
parent c2573c042e
commit 6542c17a6f
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA

View file

@ -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