mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-27 07:45:25 +01:00
26 lines
667 B
YAML
26 lines
667 B
YAML
image: Visual Studio 2019
|
|
environment:
|
|
matrix:
|
|
- nodejs_version: "10"
|
|
- nodejs_version: "12"
|
|
- nodejs_version: "13"
|
|
platform:
|
|
- x86
|
|
- x64
|
|
install:
|
|
# https://github.com/appveyor/ci/issues/2921#issuecomment-501016533
|
|
- ps: |
|
|
try {
|
|
Install-Product node $env:nodejs_version $env:platform
|
|
} catch {
|
|
echo "Unable to install node $env:nodejs_version, trying update..."
|
|
Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform
|
|
}
|
|
- md public
|
|
- npm install --global windows-build-tools
|
|
- npm install
|
|
build_script:
|
|
- npm run build
|
|
test_script:
|
|
- npm run lint-js
|
|
- npm run lint-css
|