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.
This commit is contained in:
Leroy Hopson 2025-06-28 18:35:08 +12:00
parent 344b303864
commit 35194cb6c0
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA

View file

@ -210,10 +210,12 @@ jobs:
- name: Export for web - name: Export for web
shell: bash shell: bash
run: godot --no-window --export-release Web run: godot --no-window --export-release Web
- name: NPM cache - name: Setup Node.js
uses: c-hive/gha-npm-cache@v1 uses: actions/setup-node@v4
with: with:
directory: test/web node-version: "20"
cache: "npm"
cache-dependency-path: test/web/package-lock.json
- name: Smoke test Web export - name: Smoke test Web export
shell: bash shell: bash
working-directory: test/web working-directory: test/web