Enable npm cache on setup-node action (#30577)

Enable npm dependency cache in
[setup-node](https://github.com/actions/setup-node). This should work
reliably and across branches as well.
This commit is contained in:
silverwind
2024-04-19 05:29:08 +02:00
committed by GitHub
parent ba9b124c34
commit acfe29fc2b
5 changed files with 16 additions and 0 deletions

View File

@@ -25,6 +25,8 @@ jobs:
- 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