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