File: appveyor.yml

package info (click to toggle)
node-yarnpkg 1.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 92,980 kB
  • sloc: sh: 323; makefile: 19
file content (43 lines) | stat: -rw-r--r-- 1,172 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
environment:
  matrix:
    - node_version: '8'
    - node_version: '10'
branches:
  only:
    - master
    - '/v[0-9]+(\.[0-9]+)*/'
install:
  - ps: 'Install-Product node $env:node_version'
  - yarn install --frozen-lockfile
build_script:
  - ps: >-
      if ($env:APPVEYOR_REPO_BRANCH -eq 'master') { node
      ./scripts/set-dev-version.js }
  - yarn run build-dist
  - yarn run build-win-installer
test_script:
  - cmd: |-
      SET npm_execpath=%APPVEYOR_BUILD_FOLDER%\bin\yarn.js
      node ./node_modules/jest/bin/jest.js --verbose --maxWorkers=2
artifacts:
  - path: artifacts/*.msi
    name: Installer
cache:
  - node_modules
  - '%LOCALAPPDATA%/Yarn'
notifications:
  - provider: Webhook
    url: 'https://nightly.yarnpkg.com/archive_appveyor'
    method: POST
    headers:
      Authorization:
        secure: uH4c9HNDdRuL4omqqbTtBq3KgzjGTFmpvPdiNuk9391Z0YXRoRLA1Ptpa3seZ0Pt
    on_build_failure: false
deploy:
  - provider: Webhook
    url: 'https://nightly.yarnpkg.com/release_appveyor'
    authorization:
      secure: uH4c9HNDdRuL4omqqbTtBq3KgzjGTFmpvPdiNuk9391Z0YXRoRLA1Ptpa3seZ0Pt
    on:
      branch: '/v[0-9]+(\.[0-9]+)*/'
      appveyor_repo_tag: true