diff --git a/.github/workflows/build-and-test-workflow.yml b/.github/workflows/build-and-test-workflow.yml index 49e6d27e..b8eeb66e 100644 --- a/.github/workflows/build-and-test-workflow.yml +++ b/.github/workflows/build-and-test-workflow.yml @@ -41,9 +41,9 @@ jobs: run: | chown -R 1000:1000 `pwd` cd ./OpenSearch-Dashboards/ - su `id -un 1000` -c "source $NVM_DIR/nvm.sh && nvm use && node -v && yarn -v" - cd ./plugins/anomaly-detection-dashboards-plugin - su `id -un 1000` -c "whoami && yarn osd bootstrap && yarn build && yarn run test:jest --coverage" + su `id -un 1000` -c "source $NVM_DIR/nvm.sh && nvm use && node -v && yarn -v && + cd ./plugins/anomaly-detection-dashboards-plugin && + whoami && yarn osd bootstrap && yarn build && yarn run test:jest --coverage" - name: Uploads coverage uses: codecov/codecov-action@v1