---
platforms:
  ubuntu1604:
    build_targets:
      - "//:release"
    test_flags:
      - "--test_tag_filters=-slow,-flaky,-docker"
    test_targets:
      - "//..."
  ubuntu1804:
    build_flags:
      - "--define=ABSOLUTE_JAVABASE=/usr/lib/jvm/java-11-openjdk-amd64"
      - "--host_javabase=@bazel_tools//tools/jdk:absolute_javabase"
      - "--host_java_toolchain=@bazel_tools//tools/jdk:toolchain_vanilla"
      - "--java_toolchain=@bazel_tools//tools/jdk:toolchain_vanilla"
    build_targets:
      - "//:release"
    test_flags:
      - "--define=ABSOLUTE_JAVABASE=/usr/lib/jvm/java-11-openjdk-amd64"
      - "--host_javabase=@bazel_tools//tools/jdk:absolute_javabase"
      - "--host_java_toolchain=@bazel_tools//tools/jdk:toolchain_vanilla"
      - "--java_toolchain=@bazel_tools//tools/jdk:toolchain_vanilla"
      - "--test_tag_filters=-slow,-flaky,-docker"
    test_targets:
      - "//..."
  macos:
    build_targets:
      - "//:release"
    test_flags:
      - "--test_tag_filters=-slow,-flaky,-docker"
    test_targets:
      - "//..."

---
platforms:
  ubuntu1604:
    shell_commands:
      - "npm install"
    build_targets:
      - "//:release"
    test_flags:
      - "--test_tag_filters=-slow,-flaky,-docker"
    test_targets:
      - "//..."
  ubuntu1804:
    shell_commands:
      - "npm install"
    build_flags:
      - "--define=ABSOLUTE_JAVABASE=/usr/lib/jvm/java-11-openjdk-amd64"
      - "--host_javabase=@bazel_tools//tools/jdk:absolute_javabase"
      - "--host_java_toolchain=@bazel_tools//tools/jdk:toolchain_vanilla"
      - "--java_toolchain=@bazel_tools//tools/jdk:toolchain_vanilla"
    build_targets:
      - "//:release"
    test_flags:
      - "--define=ABSOLUTE_JAVABASE=/usr/lib/jvm/java-11-openjdk-amd64"
      - "--host_javabase=@bazel_tools//tools/jdk:absolute_javabase"
      - "--host_java_toolchain=@bazel_tools//tools/jdk:toolchain_vanilla"
      - "--java_toolchain=@bazel_tools//tools/jdk:toolchain_vanilla"
      - "--test_tag_filters=-slow,-flaky,-docker"
    test_targets:
      - "//..."
  macos:
    shell_commands:
      - "npm install"
    build_targets:
      - "//:release"
    test_flags:
      - "--test_tag_filters=-slow,-flaky,-docker"
    test_targets:
      - "//..."

Add "npm install" step to Gerrit's pipeline.
Add "npm install" step to Gerrit's pipeline.