diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 5976390..218d236 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -56,7 +56,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18 - - run: npm i npm-run-all --save-dev + - run: npm install - name: Build frontend run: make web-build - name: Test frontend diff --git a/web/Makefile b/web/Makefile index 1e2a377..ce865cb 100644 --- a/web/Makefile +++ b/web/Makefile @@ -3,7 +3,7 @@ all: add-copyright format lint build test .PHONY: build build: - @npm run build + @npm install && npm run build .PHONY: format format: # format code.