add cache path

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