Skip to content

Commit

Permalink
main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RFbkak37y3kIY committed Apr 24, 2024
1 parent beddc90 commit e90cc33
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: NPM install
run: npm i --force
run: npm i
- name: Build using Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand Down
23 changes: 4 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,12 @@
"version": "7.8.1",
"scripts": {
"ng": "ng",
"inst_dev": "npm install && npm run dev",
"start": "ng serve --port 80",
"dev": "ng serve --configuration=development --port=80 --disable-host-check --host=0.0.0.0 --open",
"de9": "ng serve --configuration=development --port=8002 --host=0.0.0.0 --disable-host-check",
"de9-alpha": "ng serve --configuration=development --port=8003 --host=0.0.0.0 --disable-host-check",
"webapp": "ng serve --configuration=webapp --port=8099",
"build": "ng build --configuration=production && gzip -9 ./dist/homer-ui/*.js && npm run extract-version",
"extract-version": "egrep -o '[0-9]+.[0-9]+.[0-9]+' ./src/VERSION.ts > ./dist/homer-ui/version.txt",
"dev": "ng serve --configuration=development --port=80 --disable-host-check",
"webapp": "ng serve --host 0.0.0.0 --configuration=development --port=8099 --disable-host-check",
"build": "ng build --configuration=production && gzip -9 ./dist/homer-ui/*.js",
"build-noenv": "ng build --configuration=production-noenv",
"build-keep-js": "ng build --configuration=production && gzip -9 -k ./dist/homer-ui/*.js",
"build-dev": "ng build --configuration=preprod && gzip -9 ./dist/homer-ui/*.js && npm run extract-version",
"serve:all": "concurrently --kill-others \"npm run serve:hepic-view\" \"npm run dev\" \"npm run serve:hepic-export\"",
"serve:hepic-view": "concurrently --kill-others \"ng serve hepic-view --configuration=development --port=83 --open --proxy-config .\\projects\\hepic-view\\proxy.conf.json\" \"node .\\projects\\hepic-view\\proxy\\index.js\"",
"serve:dev": "concurrently --kill-others \"npm run dev\" \"ng serve hepic-view --port=83 --host=0.0.0.0 --disable-host-check\"",
"serve:dev:de9": "concurrently --kill-others \"npm run de9\" \"ng serve hepic-view --port=9987 --host=0.0.0.0 --disable-host-check\"",
"serve:hepic-export": "ng serve hepic-export --configuration=development --open --port=84 --disable-host-check",
"build:hepic-view": "ng build hepic-view --configuration=production",
"build:hepic-export": "ng build hepic-export --configuration=production",
"build-prod:hepic-export": "ng build hepic-export --configuration=production --output-hashing=none --single-bundle true",
"build:all-prod": "npm run build:hepic-view && npm run build",
"build:hepic-admin": "cd projects/hepic-admin/ && npm install && npm run build && cd ./../.. && gzip -9 -k ./dist/hepic-admin/*.js",
"serve:hepic-admin": "cd projects/hepic-admin/ && npm install && ng serve --port=8003 --disable-host-check --host=0.0.0.0 --open",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
Expand Down

0 comments on commit e90cc33

Please sign in to comment.