add cache path
This commit is contained in:
1 parent
e939e4cc41
commit
5b556216a1
1 file changed
+3
-2
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user