mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
Add npm install commands for Common, Model, CommonServer, and CommonUI
This commit is contained in:
parent
01e5964207
commit
58c7860f9b
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user