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":
|
case "test":
|
||||||
test("./pkg/...")
|
test("./pkg/...")
|
||||||
grunt("test")
|
|
||||||
|
|
||||||
case "latest":
|
case "latest":
|
||||||
version += "-" + getGitSha()
|
version += "-" + getGitSha()
|
||||||
|
@ -9,17 +9,16 @@ build:
|
|||||||
steps:
|
steps:
|
||||||
# Workspace
|
# Workspace
|
||||||
- setup-go-workspace
|
- setup-go-workspace
|
||||||
|
- npm-install
|
||||||
- script:
|
- script:
|
||||||
name: build setup
|
name: build setup
|
||||||
code: |
|
code: |
|
||||||
go run build.go setup
|
go run build.go setup
|
||||||
# Build the project
|
# Build the project
|
||||||
- script:
|
- script:
|
||||||
name: build
|
name: go build
|
||||||
code: |
|
code: |
|
||||||
go run build.go clean test build
|
go run build.go clean test build
|
||||||
# frontend
|
|
||||||
- npm-install
|
|
||||||
# create packages
|
# create packages
|
||||||
- script:
|
- script:
|
||||||
name: create packages
|
name: create packages
|
||||||
|
Loading…
Reference in New Issue
Block a user