From 58c7860f9b9a4f32ec55e41af84effab1ae55b9e Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Thu, 14 Mar 2024 12:07:16 +0000 Subject: [PATCH] Add npm install commands for Common, Model, CommonServer, and CommonUI --- .github/workflows/build.yml | 6 +++++- Scripts/NPM/PublishPackage.sh | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) 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