Skip to content

Commit 72ccede

Browse files
Update build_docker.yml
1 parent fba515b commit 72ccede

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build_docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
33

4-
name: Node.js CI
4+
name: build_docker CI
55

66
on:
77
workflow_dispatch:
@@ -27,15 +27,15 @@ jobs:
2727

2828
steps:
2929
- uses: actions/checkout@v4
30-
- name: To frontend
31-
run: cd ./frontend
3230
- name: Use Node.js ${{ matrix.node-version }}
3331
uses: actions/setup-node@v4
3432
with:
3533
node-version: ${{ matrix.node-version }}
3634
cache: 'npm'
35+
cache-dependency-path: frontend/package-lock.json
3736
- name: Install and build
3837
run: |
38+
cd ./frontend
3939
npm install
4040
npm run build
4141
cp -r ./dist ../backend/

0 commit comments

Comments
 (0)