add cache path

This commit is contained in:
kaedwen
2023-07-08 11:59:08 +02:00
parent e939e4cc41
commit 5b556216a1
+3 -2
View File
@@ -15,7 +15,7 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build-backend:
build:
runs-on: ubuntu-latest
container: "debian:stable-slim"
steps:
@@ -23,7 +23,8 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
cache-dependency-path: static
cache: npm
- name: Build Frontend
run: npm --prefix static ci && npm --prefix static run build
- uses: actions/setup-go@v4