From e1ca08db3a74e6adcfafdea62b4b148d05a083ab Mon Sep 17 00:00:00 2001 From: Muyao CHEN Date: Tue, 8 Oct 2024 23:40:21 +0200 Subject: [PATCH] fix(ci): install npm --- .gitea/workflows/demo.yaml | 1 - web/Makefile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 5976390..a0f81d1 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -56,7 +56,6 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18 - - run: npm i npm-run-all --save-dev - 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.