UNPKG

425 BYAMLView Raw
1environment:
2 matrix:
3 - nodejs_version: "10.0"
4cache:
5 - node_modules
6install:
7 - ps: Install-Product node $env:nodejs_version
8 - node -v
9 - npm -v
10 - npm cache verify
11 - rm -rf node_modules/
12 - if exist node_modules npm prune
13 - if exist node_modules npm rebuild
14 - npm install
15 - npm install jest-cli@25 --save-dev
16build: off
17test_script:
18 - node --version
19 - npm --version
20 - npm test
21version: "{build}"