forked from FredrikNoren/ungit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
36 lines (30 loc) · 744 Bytes
/
appveyor.yml
File metadata and controls
36 lines (30 loc) · 744 Bytes
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
36
skip_branch_with_pr: true
image: Visual Studio 2022
environment:
matrix:
- nodejs_version: '' # latest
- nodejs_version: '22.12'
- nodejs_version: '20.19'
branches:
only:
- master
install:
- ps: |
try {
Install-Product node $env:nodejs_version x64
} catch {
Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) x64
}
- node --version
- npm --version
- npm ci
build_script:
- npm run lint
- npm run build
before_test:
- git config --global user.email "test@testy.com"
- git config --global user.name "Test testy"
- git config --global protocol.file.allow always # tests use file based submodules see #1539
- git --version
test_script:
- npm test