# This file is managed by backtrack
#
# source: @backtrack/preset-jest
#
# DO NOT MODIFY

environment:
    matrix:
        - nodejs_version: '18'
        - nodejs_version: '20'
platform:
    - x64
install:
    - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:PLATFORM
    - set PATH=%APPDATA%\npm;%PATH%
    - npm install
matrix:
    fast_finish: true
build: off
shallow_clone: true
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
test_script:
    - node --version
    - npm --version
    - npm run test.ci-pretest
    - npm run test.ci
cache:
    - '%APPDATA%\npm-cache'
