diff --git a/.github/workflows/build_docker.yml b/.github/workflows/build_docker.yml index e2dadb51..7303f246 100644 --- a/.github/workflows/build_docker.yml +++ b/.github/workflows/build_docker.yml @@ -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/