put "npm install" before build into Makefile

feat/vaults
Tomáš Mládek 2021-04-05 22:08:19 +02:00
parent c5f842a3be
commit b60a1c07ba
2 changed files with 2 additions and 3 deletions

View File

@ -49,7 +49,6 @@ build:frontend:
image: $NODE_IMAGE
script:
- node --version && npm --version
- cd ui && npm i && cd ..
- make frontend
artifacts:
paths:

View File

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