Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 866545b

Browse files
Feature/ff 149 (#12)
* Implemented Sonar Check * Added more properties to sonar-scanner.js * possible fix * Looks like pwd is not persistant * Codefactor doesnt like my yml. * changed version of checkout, this should solve problem of fetch depth Co-authored-by: qvalentin <[email protected]>
1 parent b01d16b commit 866545b

File tree

5 files changed

+929
-190
lines changed

5 files changed

+929
-190
lines changed

.github/workflows/latestRelease.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,40 @@ name: Latest Release
33
on:
44
workflow_dispatch:
55
push:
6-
branches: [ master ]
6+
branches: "master"
77
paths:
88
- 'webapp_frontend/**'
99
- 'webapp_provider/**'
10-
create:
11-
tag: [ v*.*.* ]
1210

1311
jobs:
1412
Build_Docker_Image_on_Push:
1513
runs-on: ubuntu-latest
1614
steps:
1715
-
1816
name: Set up Project
19-
uses: actions/checkout@v2
17+
uses: actions/checkout@v1
2018
-
2119
name: Set up Node.js environment
2220
uses: actions/[email protected]
2321
with:
2422
node-version: 12
2523
-
26-
name: Build frontend
24+
name: Checkout frontend
2725
run: |
2826
cd webapp_frontend
2927
npm i
28+
-
29+
name: Update Sonar
30+
run: |
31+
cd webapp_frontend
32+
npm run-script sonar
33+
env:
34+
SONAR_LOGIN: ${{ secrets.SONAR_LOGIN }}
35+
SONAR_PASSWORD: ${{ secrets.SONAR_PASSWORD }}
36+
-
37+
name: Build Frontend
38+
run: |
39+
cd webapp_frontend
3040
npm run-script build
3141
cp -r build ../webapp_provider/public
3242
-

package-lock.json

Lines changed: 0 additions & 183 deletions
This file was deleted.

0 commit comments

Comments
 (0)