2022-01-11 16:51:15 +00:00
|
|
|
# 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: |
|
2022-02-16 11:49:48 +00:00
|
|
|
ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
|
2022-01-27 18:32:43 +00:00
|
|
|
chmod -R 777 /appveyor/projects
|
2022-01-11 16:51:15 +00:00
|
|
|
npm install
|
|
|
|
npm test
|
2022-02-15 16:32:43 +00:00
|
|
|
npm run test:integration
|