Skip to content

Commit 85736de

Browse files
authored
Merge pull request #3136 from plotly/circle-build-artifact
add build artifact to CI build
2 parents 85c42aa + 82b640b commit 85736de

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Diff for: .circleci/config.yml

+27
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ jobs:
8888
command: ./.circleci/test.sh image
8989
- store_artifacts:
9090
path: build
91+
destination: /
9192

9293
test-image2:
9394
docker:
@@ -107,6 +108,7 @@ jobs:
107108
command: ./.circleci/test.sh image2
108109
- store_artifacts:
109110
path: build
111+
destination: /
110112

111113
test-syntax:
112114
docker:
@@ -120,6 +122,24 @@ jobs:
120122
name: Run syntax tests
121123
command: ./.circleci/test.sh syntax
122124

125+
publish:
126+
docker:
127+
- image: circleci/node:10.9.0
128+
working_directory: ~/plotly.js
129+
steps:
130+
- checkout
131+
- attach_workspace:
132+
at: ~/plotly.js
133+
- store_artifacts:
134+
path: build/plotly.js
135+
destination: /plotly.js
136+
- store_artifacts:
137+
path: dist/plotly.min.js
138+
destination: /plotly.min.js
139+
- store_artifacts:
140+
path: dist/plot-schema.json
141+
destination: /plot-schema.json
142+
123143
workflows:
124144
version: 2
125145
build-and-test:
@@ -140,3 +160,10 @@ workflows:
140160
- test-syntax:
141161
requires:
142162
- build
163+
- publish:
164+
requires:
165+
- test-jasmine
166+
- test-jasmine2
167+
- test-image
168+
- test-image2
169+
- test-syntax

0 commit comments

Comments
 (0)