build:
  template_file: simple-task.tyml
  dependencies:
    # Make sure builds are ready
    - "node-package-gpu"
    - "node-package-cpu"
  allowed:
    - "tag"
  ref_match: "refs/tags/"
  routes:
    - "notify.irc-channel.${notifications.irc}.on-exception"
    - "notify.irc-channel.${notifications.irc}.on-failed"
  upload_targets:
    - "npm"
  artifacts_deps:
    python: []
    cpp: []
    java_aar: []
    javascript:
      # GPU package
      - "node-package-gpu"
      # CPU package with all archs
      - "node-package-cpu"
    nuget: []
  metadata:
    name: "DeepSpeech NPM Packages"
    description: "Trigger Uploading of DeepSpeech Packages to NPM registry"
