mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
Update build_docker.yml
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# 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
|
||||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
|
||||
|
||||
name: Node.js CI
|
||||
name: build_docker CI
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@@ -27,15 +27,15 @@ 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:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontend/package-lock.json
|
||||
- name: Install and build
|
||||
run: |
|
||||
cd ./frontend
|
||||
npm install
|
||||
npm run build
|
||||
cp -r ./dist ../backend/
|
||||
|
||||
Reference in New Issue
Block a user