Skip to content

Commit 6d8ae70

Browse files
committed
ci: use build:dist in deploy_master
1 parent a801ca6 commit 6d8ae70

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/deploy_master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup dash.js
1717
uses: ./.github/actions/setup-dashjs
1818
- name: Run build
19-
run: npm run build
19+
run: npm run build:dist
2020
- name: Read version from package.json
2121
id: set_version
2222
run: echo "version=$(jq -r .version package.json)" >> $GITHUB_OUTPUT

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
},
2929
"scripts": {
3030
"build": "npm run webpack-build-modern && npm run webpack-build-legacy",
31+
"build:dist": "rimraf dist && tsc && npm run webpack-build-modern && npm run webpack-build-legacy",
3132
"build-legacy": "npm run prebuild && npm run webpack-build-legacy",
3233
"build-modern": "npm run prebuild && npm run webpack-build-modern",
3334
"dev": "tsc && webpack --config build/webpack/modern/webpack.modern.dev.cjs --mode development --watch --progress",

0 commit comments

Comments
 (0)