28 lines
460 B
YAML
28 lines
460 B
YAML
|
# version format
|
||
|
version: '{build}'
|
||
|
|
||
|
# branches to build
|
||
|
branches:
|
||
|
# whitelist
|
||
|
only:
|
||
|
- master
|
||
|
|
||
|
# Do not build on tags (GitHub, Bitbucket, GitLab, Gitea)
|
||
|
skip_tags: true
|
||
|
|
||
|
# Maximum number of concurrent jobs for the project
|
||
|
max_jobs: 1
|
||
|
clone_depth: 1
|
||
|
|
||
|
# Build worker image (VM template)
|
||
|
build_cloud: Docker
|
||
|
|
||
|
environment:
|
||
|
docker_image: node:16-alpine
|
||
|
npm_config_cache: /appveyor/projects/cache
|
||
|
|
||
|
test_script:
|
||
|
- sh: |
|
||
|
npm install
|
||
|
npm test
|