This commit is contained in:
parent
7e4fee5a05
commit
0e16025d56
12
.drone.yml
12
.drone.yml
@ -21,19 +21,19 @@ steps:
|
|||||||
|
|
||||||
# Build the Angular project
|
# Build the Angular project
|
||||||
- name: build
|
- name: build
|
||||||
image: node:18-alpine
|
image: node:20-alpine
|
||||||
commands:
|
commands:
|
||||||
- npm run build --if-present
|
- npm run build --if-present
|
||||||
|
|
||||||
# Run unit tests (e.g. using Karma, Jest or your configured test runner)
|
# Run unit tests (e.g. using Karma, Jest or your configured test runner)
|
||||||
- name: test
|
# - name: test
|
||||||
image: node:18-alpine
|
# image: node:20-alpine
|
||||||
commands:
|
# commands:
|
||||||
- npm test
|
# - npm test
|
||||||
|
|
||||||
# Run SonarQube code analysis
|
# Run SonarQube code analysis
|
||||||
- name: code-analysis
|
- name: code-analysis
|
||||||
image: node:18-alpine
|
image: node:20-alpine
|
||||||
commands:
|
commands:
|
||||||
# Install sonar-scanner globally
|
# Install sonar-scanner globally
|
||||||
- npm install -g sonar-scanner
|
- npm install -g sonar-scanner
|
||||||
|
Loading…
x
Reference in New Issue
Block a user