mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 18:33:00 +02:00
Backport #30577 Enable npm dependency cache in [setup-node](https://github.com/actions/setup-node). This should work reliably and across branches as well. --------- Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
1 parent
0e20ccfe32
commit
1c1c94b061
5 files changed
+21
-7
No files matched your search
@@ -20,9 +20,11 @@ jobs:
|
||||
with:
|
||||
go-version: "~1.21"
|
||||
check-latest: true
|
||||
- uses: actions/setup-node@v3
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: npm
|
||||
cache-dependency-path: package-lock.json
|
||||
- run: make deps-frontend deps-backend
|
||||
# xgo build
|
||||
- run: make release
|
||||
|
||||
Reference in new issue
Block a user