ci: use npm_install for bazel

using yarn_install polluted our node_modules cache because it disregards the npm_shrinkwrap.json
This commit is contained in:
Alex Eagle 2017-06-12 16:03:47 -07:00 committed by Alex Rickabaugh
parent 98308cd79c
commit fa81c8eeb3
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ jobs:
build:
working_directory: ~/ng
docker:
- image: alexeagle/ngcontainer
- image: angular/ngcontainer
steps:
- checkout
- restore_cache:

View File

@ -3,10 +3,10 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
git_repository(
name = "io_bazel_rules_typescript",
remote = "https://github.com/bazelbuild/rules_typescript.git",
tag = "0.0.3",
commit = "804c5da",
)
load("@io_bazel_rules_typescript//:defs.bzl", "node_repositories", "yarn_install")
load("@io_bazel_rules_typescript//:defs.bzl", "node_repositories", "npm_install")
node_repositories()
yarn_install(package_json = "//:package.json")
npm_install(package_json = "//:package.json")