File tree Expand file tree Collapse file tree 1 file changed +22
-15
lines changed Expand file tree Collapse file tree 1 file changed +22
-15
lines changed Original file line number Diff line number Diff line change 1
- # Golang CircleCI 2.0 configuration file
2
- #
3
- # Check https://circleci.com/docs/2.0/language-go/ for more details
4
1
version : 2
5
2
jobs :
3
+ ui :
4
+ docker :
5
+ - image : circleci/node:10.8.0
6
+ steps :
7
+ - attach_workspace :
8
+ at : ./ui/dist
9
+ - checkout
10
+ - run : npm install
11
+ - run : npm test
12
+ - run : npm run build
13
+
6
14
build :
7
15
docker :
8
- # specify the version
9
16
- image : circleci/golang:1.10
10
17
11
- # Specify service dependencies here if necessary
12
- # CircleCI maintains a library of pre-built images
13
- # documented at https://circleci.com/docs/2.0/circleci-images/
14
- # - image: circleci/postgres:9.4
15
-
16
- # ### TEMPLATE_NOTE: go expects specific checkout path representing url
17
- # ### expecting it in the form of
18
- # ### /go/src/github.com/circleci/go-tool
19
- # ### /go/src/bitbucket.org/circleci/go-tool
20
18
working_directory : /go/src/github.com/g3force/ssl-game-controller
21
19
steps :
20
+ - attach_workspace :
21
+ at : ./ui/dist
22
22
- checkout
23
-
24
- # specify any bash command here prefixed with `run: `
25
23
- run : go get -v -t -d ./...
26
24
- run : go test -v ./...
25
+
26
+ workflows :
27
+ version : 2
28
+ release :
29
+ jobs :
30
+ - ui
31
+ - build :
32
+ requires :
33
+ - ui
You can’t perform that action at this time.
0 commit comments