mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Moved npm install before test
This commit is contained in:
parent
d89c77af54
commit
dfcf68f21d
1
build.go
1
build.go
@ -70,7 +70,6 @@ func main() {
|
||||
|
||||
case "test":
|
||||
test("./pkg/...")
|
||||
grunt("test")
|
||||
|
||||
case "latest":
|
||||
version += "-" + getGitSha()
|
||||
|
@ -9,18 +9,17 @@ build:
|
||||
steps:
|
||||
# Workspace
|
||||
- setup-go-workspace
|
||||
- npm-install
|
||||
- script:
|
||||
name: build setup
|
||||
code: |
|
||||
go run build.go setup
|
||||
# Build the project
|
||||
- script:
|
||||
name: build
|
||||
name: go build
|
||||
code: |
|
||||
go run build.go clean test build
|
||||
# frontend
|
||||
- npm-install
|
||||
# create packages
|
||||
# create packages
|
||||
- script:
|
||||
name: create packages
|
||||
code: |
|
||||
|
Loading…
Reference in New Issue
Block a user