diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8e46730af2..8385f658fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,8 +48,12 @@ jobs: uses: actions/checkout@v2 - name: Preinstall run: npm run prerun + - run: cd Common && npm install + - run: cd Model && npm install + - run: cd CommonServer && npm install + - run: cd CommonUI && npm install --force - name: Publish Infrastructure Agent - run: cd InfrastructureAgent && npm run publish + run: cd InfrastructureAgent && npm run publish-package docker-build-accounts: runs-on: ubuntu-latest diff --git a/Scripts/NPM/PublishPackage.sh b/Scripts/NPM/PublishPackage.sh index b3bbd7c641..24314a9f51 100644 --- a/Scripts/NPM/PublishPackage.sh +++ b/Scripts/NPM/PublishPackage.sh @@ -19,6 +19,7 @@ touch ~/.npmrc # Add Auth Token to npmrc file echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc +echo "//registry.npmjs.org/:email=npm@oneuptime.com" > ~/.npmrc # Run npm install npm install