fix(ci): install npm
All checks were successful
Build and test / Build (push) Successful in 1m55s

This commit is contained in:
Muyao CHEN 2024-10-08 23:40:21 +02:00
parent 7209bc9c70
commit e1ca08db3a
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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.