diff --git a/.github/workflows/publishAllPackages.yml b/.github/workflows/publishAllPackages.yml index 129ed2be632..6bbc8899baa 100644 --- a/.github/workflows/publishAllPackages.yml +++ b/.github/workflows/publishAllPackages.yml @@ -4,7 +4,7 @@ on: push: branches: [ 'develop','microplan' ] paths: - - 'micro-ui/web/micro-ui-internals/**' + - 'health/micro-ui/web/micro-ui-internals/**' pull_request: branches: @@ -20,6 +20,6 @@ jobs: with: node-version: 14 registry-url: https://registry.npmjs.org/ - - run: cd micro-ui/web/micro-ui-internals/ && bash ./publish-develop.sh + - run: cd health/micro-ui/web/micro-ui-internals/ && bash ./publish-develop.sh env: NODE_AUTH_TOKEN: ${{secrets.npm_token}} diff --git a/health/micro-ui/web/micro-ui-internals/publish-develop.sh b/health/micro-ui/web/micro-ui-internals/publish-develop.sh index 4909658c697..cd9a49b0b4f 100644 --- a/health/micro-ui/web/micro-ui-internals/publish-develop.sh +++ b/health/micro-ui/web/micro-ui-internals/publish-develop.sh @@ -12,9 +12,9 @@ msg() { # sleep 5 msg "Building and publishing css" -cd "$BASEDIR/packages/css" && rm -rf dist && yarn && npm publish --tag campaign-1.0 +cd "$BASEDIR/packages/css" && rm -rf dist && yarn && npm publish --tag microplan-1.0 # msg "Building and publishing libraries" -# cd "$BASEDIR/packages/modules/workbench-hcm" && rm -rf dist && yarn&& npm publish --tag workbench-1.0 +# cd "$BASEDIR/packages/modules/hcm-microplanning" && rm -rf dist && yarn&& npm publish --tag microplan-1.0 diff --git a/health/micro-ui/web/micro-ui-internals/publish.sh b/health/micro-ui/web/micro-ui-internals/publish.sh index 4909658c697..cd9a49b0b4f 100644 --- a/health/micro-ui/web/micro-ui-internals/publish.sh +++ b/health/micro-ui/web/micro-ui-internals/publish.sh @@ -12,9 +12,9 @@ msg() { # sleep 5 msg "Building and publishing css" -cd "$BASEDIR/packages/css" && rm -rf dist && yarn && npm publish --tag campaign-1.0 +cd "$BASEDIR/packages/css" && rm -rf dist && yarn && npm publish --tag microplan-1.0 # msg "Building and publishing libraries" -# cd "$BASEDIR/packages/modules/workbench-hcm" && rm -rf dist && yarn&& npm publish --tag workbench-1.0 +# cd "$BASEDIR/packages/modules/hcm-microplanning" && rm -rf dist && yarn&& npm publish --tag microplan-1.0