-
-
Notifications
You must be signed in to change notification settings - Fork 191
/
appveyor.yml
30 lines (30 loc) · 928 Bytes
/
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
version: '{build}'
image: Visual Studio 2022
# Fix line endings on Windows
init:
- git config --global core.autocrlf true
- cmd: set NODE_OPTIONS=--max-old-space-size=4096
# What combinations to test
environment:
matrix:
- nodejs_version: '20'
platform:
- x64
install:
- ps: Install-Product node $env:nodejs_version
- npm install
build_script:
- npm run appveyor
artifacts:
- path: build\dist\**\*.nupkg
name: Nuget Package
after_build:
- ps: Get-ChildItem build\dist\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
matrix:
fast_finish: true
cache:
- C:\Users\appveyor\AppData\Roaming\npm\node_modules -> package.json # global npm modules
- C:\Users\appveyor\AppData\Roaming\npm-cache -> package.json # npm cache
- node_modules -> package.json # local npm modules
- node_cache -> package.json # local npm cache
- node_shrinkwrap -> package.json # local shrinkwrap cache