add cache path
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user