-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
35 lines (29 loc) · 1.05 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
image: Visual Studio 2022
environment:
# Adds "+build.XXX" to MinVer's build metadata
MINVERBUILDMETADATA: build.%APPVEYOR_BUILD_NUMBER%
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
# AppVeyor's displayed version, will get updated by MSBuild target
version: '{build}'
before_build:
- ps: |
cd ./src/Heroicons.AspNetCore.Mvc.TagHelpers
npm ci
$env:HEROICONS_VERSION = (npm list --json | ConvertFrom-Json).dependencies.heroicons.version
$env:MINVERBUILDMETADATA = "heroicons.$env:HEROICONS_VERSION.build.$env:APPVEYOR_BUILD_NUMBER"
cd ../..
dotnet restore
build_script:
- ps: |
$env:HEROICONS_VERSION
dotnet build --no-restore --configuration Release -p:GeneratePackageOnBuild=true -p:ContinuousIntegrationBuild=true
#test_script:
#- dotnet test --no-build --configuration Release -p:CollectCoverage=true
#
#after_test:
#- choco install codecov
#- pwsh: codecov --file @(Get-ChildItem -Path artifacts/coverage/*opencover*.xml -Recurse)
artifacts:
- path: artifacts/package/**/*.nupkg