Update build_docker.yml

This commit is contained in:
fit2cloud-chenyw
2025-05-06 11:23:48 +08:00
committed by GitHub
parent 44b781ee53
commit fba515b92b
+2 -1
View File
@@ -27,6 +27,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: To frontend
run: cd ./frontend
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
@@ -34,7 +36,6 @@ jobs:
cache: 'npm'
- name: Install and build
run: |
cd ./frontend
npm install
npm run build
cp -r ./dist ../backend/