repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: remove isNullOrDefined() helper
[e-mobility-charging-stations-simulator.git]
/
.github
/
workflows
/
ci.yml
diff --git
a/.github/workflows/ci.yml
b/.github/workflows/ci.yml
index 348a6720dee705aa24738de02cffa63b3870064e..2e3a29104aeb5511843842ca01ead77955df9b44 100644
(file)
--- a/
.github/workflows/ci.yml
+++ b/
.github/workflows/ci.yml
@@
-52,6
+52,9
@@
jobs:
cache: 'pnpm'
- name: pnpm install
run: pnpm install --ignore-scripts --frozen-lockfile
cache: 'pnpm'
- name: pnpm install
run: pnpm install --ignore-scripts --frozen-lockfile
+ - name: pnpm audit
+ if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }}
+ run: pnpm audit --prod
- name: pnpm lint
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }}
run: pnpm lint
- name: pnpm lint
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }}
run: pnpm lint
@@
-64,7
+67,7
@@
jobs:
run: pnpm coverage
- name: SonarCloud Scan
if: ${{ needs.check-secrets.outputs.sonar-token-exists == 'true' && github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }}
run: pnpm coverage
- name: SonarCloud Scan
if: ${{ needs.check-secrets.outputs.sonar-token-exists == 'true' && github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }}
- uses: sonarsource/sonarcloud-github-action@v2.
0.2
+ uses: sonarsource/sonarcloud-github-action@v2.
1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
@@
-102,6
+105,9
@@
jobs:
cache: 'pnpm'
- name: pnpm install
run: pnpm install --ignore-scripts --frozen-lockfile
cache: 'pnpm'
- name: pnpm install
run: pnpm install --ignore-scripts --frozen-lockfile
+ - name: pnpm audit
+ if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }}
+ run: pnpm audit --prod
- name: pnpm lint
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }}
run: pnpm lint
- name: pnpm lint
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }}
run: pnpm lint
@@
-114,7
+120,7
@@
jobs:
run: pnpm coverage
- name: SonarCloud Scan
if: ${{ needs.check-secrets.outputs.sonar-token-exists == 'true' && github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }}
run: pnpm coverage
- name: SonarCloud Scan
if: ${{ needs.check-secrets.outputs.sonar-token-exists == 'true' && github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }}
- uses: sonarsource/sonarcloud-github-action@v2.
0.2
+ uses: sonarsource/sonarcloud-github-action@v2.
1.1
with:
projectBaseDir: ui/web
env:
with:
projectBaseDir: ui/web
env: