Skip to content

Commit

Permalink
npm install before building front-end in github action.
Browse files Browse the repository at this point in the history
  • Loading branch information
Theophile-Madet committed Oct 18, 2024
1 parent 7c2835a commit ff29df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build front-end
run: docker compose run vite npm run build
run: docker compose run vite npm install && npm run build

- name: Build and push Docker image
uses: docker/build-push-action@v6
Expand Down

0 comments on commit ff29df5

Please sign in to comment.