Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Helmholtz Cloud Portal
Webapp
Commits
4f2628ec
Unverified
Commit
4f2628ec
authored
Jun 11, 2020
by
Carsten Heidmann
Committed by
GitHub
Jun 11, 2020
Browse files
Merge pull request
#8
from femiadeyemi/pull-8/package/script/sonarqube-scanner
ci: add build and move sonarqube test
parents
cec13965
308c0954
Changes
2
Hide whitespace changes
Inline
Side-by-side
.github/workflows/build-and-sonarqube.yml
0 → 100644
View file @
4f2628ec
name
:
Build & Sonarqube
on
:
push
:
branches
:
[
master
]
jobs
:
build
:
runs-on
:
ubuntu-latest
strategy
:
matrix
:
node-version
:
[
10.x
,
12.x
,
14.x
]
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Use Node.js ${{ matrix.node-version }}
uses
:
actions/setup-node@v1
with
:
node-version
:
${{ matrix.node-version }}
-
run
:
npm ci
-
run
:
npm run build --if-present
-
run
:
npm test
-
run
:
npm run test:sonarqube
package.json
View file @
4f2628ec
...
...
@@ -9,7 +9,7 @@
"test"
:
"karma start"
,
"test:coverage"
:
"karma start --coverage"
,
"test:watch"
:
"karma start --auto-watch=true --single-run=false"
,
"
post
test"
:
"node ci-analysis.js"
,
"test
:sonarqube
"
:
"node ci-analysis.js"
,
"build"
:
"rimraf target && rollup -c rollup.config.js"
,
"start"
:
"es-dev-server --app-index index.html --node-resolve --open --watch"
,
"start:build"
:
"npm run build && es-dev-server --root-dir target --app-index index.html --open --compatibility none"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment