Fix drone build pipeline #1
16
.drone.yml
16
.drone.yml
@ -17,7 +17,7 @@ steps:
|
||||
commands:
|
||||
- |
|
||||
pwsh -NonInteractive -c "& {
|
||||
Import-Module './src/DroneHelper.psd1';
|
||||
Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
|
||||
Invoke-FileLinter
|
||||
}"
|
||||
|
||||
@ -27,7 +27,7 @@ steps:
|
||||
commands:
|
||||
- |
|
||||
pwsh -NonInteractive -c "& {
|
||||
Import-Module './src/DroneHelper.psd1';
|
||||
Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
|
||||
Invoke-Linter
|
||||
}"
|
||||
|
||||
@ -37,7 +37,7 @@ steps:
|
||||
commands:
|
||||
- |
|
||||
pwsh -NonInteractive -c "& {
|
||||
Import-Module './src/DroneHelper.psd1';
|
||||
Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
|
||||
Invoke-UnitTest -ExcludeTag 'Integration'
|
||||
}"
|
||||
|
||||
@ -52,7 +52,7 @@ steps:
|
||||
commands:
|
||||
- |
|
||||
pwsh -NonInteractive -c "& {
|
||||
Import-Module './src/DroneHelper.psd1';
|
||||
Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
|
||||
Send-PRComment
|
||||
}"
|
||||
when:
|
||||
@ -65,7 +65,7 @@ steps:
|
||||
commands:
|
||||
- |
|
||||
pwsh -NonInteractive -c "& {
|
||||
Import-Module './src/DroneHelper.psd1';
|
||||
Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
|
||||
Invoke-BuildState
|
||||
}"
|
||||
|
||||
@ -88,12 +88,12 @@ steps:
|
||||
commands:
|
||||
- |
|
||||
pwsh -NonInteractive -c "& {
|
||||
Import-Module './src/DroneHelper.psd1';
|
||||
Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
|
||||
Update-ModuleMeta -Verbose
|
||||
}"
|
||||
- |
|
||||
pwsh -NonInteractive -c "& {
|
||||
Import-Module './src/DroneHelper.psd1';
|
||||
Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
|
||||
New-BuildPackage -AdditionalPath './src/Rules' -Verbose
|
||||
}"
|
||||
|
||||
@ -117,6 +117,6 @@ steps:
|
||||
commands:
|
||||
- |
|
||||
pwsh -NonInteractive -c "& {
|
||||
Import-Module './src/DroneHelper.psd1';
|
||||
Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
|
||||
Invoke-Publish -Verbose
|
||||
}"
|
||||
|
Reference in New Issue
Block a user