Skip to content

Commit 6da819c

Browse files
committed
run full npm run build, store artifacts in dist/
1 parent 79fa245 commit 6da819c

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.circleci/config.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -131,24 +131,18 @@ jobs:
131131
- attach_workspace:
132132
at: ~/plotly.js
133133
- run:
134-
name: Update plot-schema.json
135-
command: node tasks/bundle_plot_schema.js
134+
name: Build dist/
135+
command: npm run build
136136
- store_artifacts:
137-
path: build/plotly.js
138-
destination: /plotly.js
139-
- store_artifacts:
140-
path: dist/plotly.min.js
141-
destination: /plotly.min.js
142-
- store_artifacts:
143-
path: dist/plot-schema.json
144-
destination: /plot-schema.json
137+
path: dist
138+
destination: dist
145139
- run:
146140
name: Show URLs to build files
147141
command: |
148142
PROJECT_NUM=45646037
149-
echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/plotly.js
150-
echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/plotly.min.js
151-
echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/plot-schema.json
143+
echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/dist/plotly.js
144+
echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/dist/plotly.min.js
145+
echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/dist/plot-schema.json
152146
153147
workflows:
154148
version: 2

0 commit comments

Comments
 (0)