Commit dfcf68f2 by Torkel Ödegaard

Moved npm install before test

parent d89c77af
...@@ -70,7 +70,6 @@ func main() { ...@@ -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,18 +9,17 @@ build: ...@@ -9,18 +9,17 @@ 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 # create packages
- npm-install
# create packages
- script: - script:
name: create packages name: create packages
code: | code: |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment