put "npm install" before build into Makefile
parent
c5f842a3be
commit
b60a1c07ba
|
@ -49,7 +49,6 @@ build:frontend:
|
|||
image: $NODE_IMAGE
|
||||
script:
|
||||
- node --version && npm --version
|
||||
- cd ui && npm i && cd ..
|
||||
- make frontend
|
||||
artifacts:
|
||||
paths:
|
||||
|
|
4
Makefile
4
Makefile
|
@ -11,10 +11,10 @@ backend: target/release/upend
|
|||
target/release/upend:
|
||||
cargo build --release
|
||||
|
||||
frontend: ui/node_modules ui/dist/index.html
|
||||
frontend: ui/dist/index.html
|
||||
|
||||
ui/dist/index.html:
|
||||
cd ui && npm run build
|
||||
cd ui && npm install && npm run build
|
||||
|
||||
lint: backend_lint frontend_lint
|
||||
|
||||
|
|
Loading…
Reference in New Issue