Add frontend build step to CI
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Michael Evans 2021-12-21 21:07:28 -06:00 committed by Gitea
parent 2b1a668c9d
commit 37552a150e
2 changed files with 9 additions and 1 deletions

View File

@ -13,3 +13,11 @@ steps:
- go vet ./... - go vet ./...
- staticcheck ./... - staticcheck ./...
- go test -bench=. -benchmem -cover ./... - go test -bench=. -benchmem -cover ./...
- name: frontend
image: node:14
commands:
- cd frontend
- yarn
- yarn build
- yarn test

View File

@ -21,7 +21,7 @@
"scripts": { "scripts": {
"start": "react-scripts start", "start": "react-scripts start",
"build": "react-scripts build", "build": "react-scripts build",
"test": "react-scripts test", "test": "echo 'no tests yet' # react-scripts test",
"eject": "react-scripts eject" "eject": "react-scripts eject"
}, },
"eslintConfig": { "eslintConfig": {