From 974dddf562de7e8c5a94fa7736d860e7edc675ff Mon Sep 17 00:00:00 2001 From: dinhlongnguyen Date: Tue, 18 Apr 2023 16:04:12 +0700 Subject: [PATCH] publish studio-gui (#29) --- .github/workflows/publish.yml | 6 +++++- package.json | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7053c4e..185e613 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -63,9 +63,13 @@ jobs: - name: Install node_modules run: npm ci --include=dev + + - name: Install md-preview dependencies + working-directory: ./markdownPreview + run: npm run inst-ci - name: Build the package - run: npm run package + run: npm run build-publish - name: Publish run: npm run deploy diff --git a/package.json b/package.json index b0e0617..c7a4062 100644 --- a/package.json +++ b/package.json @@ -82,6 +82,7 @@ "compile": "webpack", "watch": "webpack --watch", "package": "webpack --mode production --devtool hidden-source-map && vsce package", + "build-publish": "cd markdownPreview && npm run prod && cd .. && npm run package", "compile-tests": "tsc -p . --outDir out", "watch-tests": "tsc -p . -w --outDir out", "pretest": "npm run compile-tests && npm run compile && npm run lint",