Merge pull request #472 from janhq/chore/add-build-deps-plugin-ci

Add build deps for data-plugin in CI
This commit is contained in:
jan-service-account 2023-10-26 21:48:58 +07:00 committed by GitHub
commit a22794ea38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,11 @@ jobs:
do
echo $dir
cd $dir
npm install && npm run postinstall && ../../.github/scripts/auto-sign.sh
npm install
if [[ $dir == 'data-plugin' ]]; then
npm run build:deps
fi
npm run postinstall && ../../.github/scripts/auto-sign.sh
if [[ $GITHUB_EVENT_NAME == 'push' && $GITHUB_EVENT_PULL_REQUEST_HEAD_REPO_FULL_NAME != $GITHUB_REPOSITORY ]]; then
npm publish --access public
fi