Add npm install commands for Common, Model, CommonServer, and CommonUI

This commit is contained in:
Simon Larsen 2024-03-14 12:07:16 +00:00
parent 01e5964207
commit 58c7860f9b
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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