mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-06-28 18:25:31 +02:00
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:
parent
c2573c042e
commit
6542c17a6f
1 changed files with 5 additions and 3 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue